Weird behaviour on delegating mouseover/mouseenter on input

36 views
Skip to first unread message

Gabriel Pugliese

unread,
Sep 30, 2014, 8:30:32 PM9/30/14
to twitter...@googlegroups.com
I've done a fiddle to be better to see: http://jsfiddle.net/7k4cv5qe/24/

Anyone know what I am doing wrong? Or is it possibly a bug?

Giuseppe Gurgone

unread,
Oct 5, 2014, 6:45:22 AM10/5/14
to twitter...@googlegroups.com

Gabriel Pugliese

unread,
Oct 5, 2014, 8:26:01 AM10/5/14
to Giuseppe Gurgone, twitter...@googlegroups.com

Yeah I debugged to the point where flight does the delegation and it implements its own. Then changed to mouseover and out so it worked :) So it's not exactly a bug?

Giuseppe Gurgone

unread,
Oct 5, 2014, 8:41:19 AM10/5/14
to twitter...@googlegroups.com, ggur...@gmail.com
No not really a bug. jQuery maps the non bubbling events to the bubbling ones iirc That's why event delegation works there.
Reply all
Reply to author
Forward
0 new messages