Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#4788 closed bug (invalid)

[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

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

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 .

Note: See TracTickets for help on using tickets.