1.3 (I think?) allows for delegation of any event. Right now
mouseenter, mouseleave, focus, blur don't work.
Somebody correct me if I'm wrong.
---
Ryan Florence
http://ryanflorence.com
On Feb 8, 2010, at 12:42 PM, Rolf -nl wrote:
Nice subject line.. haha
Perhaps a simple explanation, but why doesn't event delegation work
with mouseenter/-leave events on elements right next to each other or
with little margin?
http://www.mootools.net/shell/rUq66/
When you would attach mouseenter/-leave events to each of the li's it
works as expected..
This has prevented me a couple of times already not being able to use
event delegation which is pity cause I'm attaching events to more than
a few elements on the page.
And can't use mouseover because it fires the whole time.
Is there a clear explanation or is this a "bug" ?
Cheers