#4307 closed enhancement (fixed)
onMouseEnter / onMouseLeave x-browser support
Reported by: | Sam Foster | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Events | Version: | 1.0 |
Keywords: | Cc: | Sam Foster | |
Blocked By: | Blocking: |
Description (last modified by )
IE implements the onmouseenter/leave pair of events which do what most people *mean* when they register onmouseover/out - fire only when the mouse enters that element, and leaves it (vs the extra events that are generated by mouseover/out on child elements). Mouseenter/leave events do not bubble/propagate.
MSDN link: http://msdn2.microsoft.com/en-us/library/ms536945.aspx (according to google, its down for me today) Apparently, the same events are available in Mono, and possibly elsewhere.
It would be great to be able to register handlers for these events in dojo - across dojo's supported browsers. Either in event.js, and/or in dijit/_Templated.js
Change History (17)
comment:1 Changed 13 years ago by
Status: | new → assigned |
---|
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
Possible code at http://blog.blowery.org/2007/06/04/monday-the-4th/
It's my code and I'd willingly donate it to Dojo. :)
comment:4 Changed 13 years ago by
comment:5 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 13 years ago by
comment:7 Changed 13 years ago by
ben: went with your solution (roughly). Thanks for pointing me at it.
comment:8 Changed 13 years ago by
Priority: | normal → high |
---|---|
Resolution: | fixed |
severity: | normal → major |
Status: | closed → reopened |
[10592] causes ComboBox? to throw DOM exceptions in FF2. Seems related to _FormWidget mouse handling.
Refer to http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_ComboBox.html
comment:9 Changed 13 years ago by
To reproduce, just move your mouse over a ComboBox? and check the error log.
comment:11 Changed 13 years ago by
Please see:
https://bugzilla.mozilla.org/show_bug.cgi?id=208427
This IS a firefux bug and a regression of http://trac.dojotoolkit.org/ticket/1807
The simplest way to handle the error is to use a try, catch statement.
jbondc
comment:12 Changed 13 years ago by
comment:13 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
This is already implemented inside the dnd code, fwiw. Should just be a matter of moving it and exposing it?