Skip to main content

Bug Tracker

Side navigation

#10643 closed bug (worksforme)

Opened November 02, 2011 09:39PM UTC

Closed November 02, 2011 10:25PM UTC

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

Attachments (0)
Change History (1)

Changed November 02, 2011 10:25PM UTC by dmethvin comment:1

resolution: → worksforme
status: newclosed

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