Bug Tracker

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:


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

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: worksforme
Status: newclosed

Works in the current branch, and should work in 1.7.

Note: See TracTickets for help on using tickets.