Bug Tracker

Opened 12 years ago

Closed 11 years ago

Last modified 10 years ago

#6615 closed bug (fixed)

Delegated 'mouseenter' and 'mouseleave' events are reported as 'mouseover' 'mouseout'

Reported by: bartaz Owned by:
Priority: low Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:


Delegated mouseenter and mouseleave events are reported as mouseover and mouseout in event type property.

For example:

$(document).delegate('div', 'mouseenter mouseleave', function(ev){

reports mouseover and mouseleave;

The same with 'hover' alias that is said to be mapped to mouseenter and mouseleave.

This behaviour should be documented or fixed as it is confusing for developers that want to check the type of delegated events.

Change History (2)

comment:1 Changed 12 years ago by bartaz

I created a basic test case at: http://jsfiddle.net/auK46/

comment:2 Changed 11 years ago by Rick Waldron

Priority: low
Resolution: fixed
Status: newclosed

This issue no longer exists


Version 0, edited 11 years ago by Rick Waldron (next)
Note: See TracTickets for help on using tickets.