Side navigation
#4788 closed bug (invalid)
Opened June 19, 2009 11:26AM UTC
Closed October 13, 2009 12:00AM UTC
Last modified March 15, 2012 07:33PM UTC
[tooltip] ie mousemove bug
Reported by: | DBLaci | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | plugin | Version: | |
Keywords: | mousemove ie tooltip | Cc: | |
Blocked by: | Blocking: |
Description
In some cases with internet explorer, when the track: true, the mouse cursor flashes from default to hour-glass. I found that the mousemove event fires constantly, even if the mouse not moved.
i fixed the issue by moving there removeClass calls
remove position helper classes
helper.parent.removeClass("viewport-right").removeClass("viewport-bottom");
to the else blocks of the following code:
check horizontal position
if (v.x + v.cx < h.offsetLeft + h.offsetWidth) {
left -= h.offsetWidth + 20 + settings(current).left;
helper.parent.css({left: left + 'px'}).addClass("viewport-right");
} else {
if (helper.parent.hasClass("viewport-right"))
helper.parent.removeClass("viewport-right")
}
// check vertical position
if (v.y + v.cy < h.offsetTop + h.offsetHeight) {
top -= h.offsetHeight + 20 + settings(current).top;
helper.parent.css({top: top + 'px'}).addClass("viewport-bottom");
} else {
if (helper.parent.hasClass("viewport-bottom"))
helper.parent.removeClass("viewport-bottom");
}
in short, these classes are removed only when they are set.
I don't know why the removeClass triggers the mousemove event, but it does. (in ie) This workaround is working for me.
Thanks
Attachments (0)
Change History (1)
Changed October 13, 2009 12:00AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .