Opened 11 years ago
Closed 11 years ago
#10643 closed bug (worksforme)
JQuery live mouseleave bug
Reported by: | Adam | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Here's my jsFiddle: http://jsfiddle.net/yLv5d/2/
The problem: I have a live handler for "mouseenter mouseleave" which works as expected if I don't have any other handlers, but breaks down when I add another live handler for "mouseout" on another element. Unless I'm mistaken, these should not interact with each other. However, adding the mouseout event causes the original live handler that is supposed to fire only on mouseenter/mouseleave to instead fire on mouseenter/mouseout.
In my example jsfiddle, there's no way "mouseout" should be printed, right? Yet it is when you move your mouse off the blue div.
This seems to work in jQuery 1.5 but not 1.6
Works in the current branch, and should work in 1.7.