Mouse co-ordinate location doesn't update on scroll

Nall - July 26, 2007 - 16:40
Project:Hovertips and Clicktips
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

(Drupal 5.1, hovertip 5.x-1.x-dev, seen on Windows XP using Firefox 2.0.0.5)

I use hovertips to show some profile information when a user hovers over the name/picture of the poster of a particular forum node or comment. These are all lined up, one after the other, so a good way of going down and looking at a number of them is to use keyboard or mouse wheel to move the viewport instead. However, doing this doesn't trigger the mousemove event and as such, the resultant hovertip displays at the last recorded mouse co-ordinates.

#1

Dave Cohen - July 31, 2007 - 00:09

Hmmm... I doubt the fix for this will come from this module. Jquery itself probably needs a patch. You could try the very latest jquery and see if this has been fixed.

I'm open to a patch if you have one, otherwise I won't have time to track this down.

#2

Nall - August 16, 2007 - 10:24
Status:active» needs review

Sorry, bit of delay, other things on my plate. Idea for the fix popped up all of a sudden, and it's a lot better than some of the other things I was considering. Tested sparingly.

AttachmentSize
hovertip.js__0.patch 796 bytes

#3

Dave Cohen - August 26, 2007 - 05:39

Your patch only corrects a typo in the documentation. Am I missing something?

#4

Nall - August 28, 2007 - 07:52

Oh, sorry. It's subtle; I change the mousemove event to mouseover.

 
 

Drupal is a registered trademark of Dries Buytaert.