There is a fix for mouseenter/leave (not focus/blur - that will have to wait for 1.3). Look for the mouseenter/leave fix soon; here's the commit:
http://github.com/csuwldcat/mootools-more/commit/ccf31a761d84dcfa65501615505a67047c835081 On Mon, Feb 8, 2010 at 2:41 PM, Ryan Florence <[email protected]> wrote: > 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 >> > >
