Opened 8 years ago
Closed 5 years ago
#17092 closed defect (patchwelcome)
mousewheel event not working in Firefox 20
Reported by: | spaquette | Owned by: | Kris Zyp |
---|---|---|---|
Priority: | undecided | Milestone: | 1.13 |
Component: | Events | Version: | 1.9.0rc2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If I use dojo/on to attach an event for mousewheel, it won't work for Firefox. I have to explicitly attach an event for DOMMouseScroll to get an event to work in Firefox.
In this super simple test, if you scrollwheel over the DIV, the console will show "mousewheel!" in Chrome and IE, but only "DOMMouseScroll!" in Firefox (each message is attached to the appropriate event).
I haven't confirmed if older Dojo releases and/or older Firefoxes are having the same issue. Searching the bugs seemed to suggest this was intended to be normalized, but I'm not sure if it was left separate on purpose.
Attachments (1)
Change History (4)
Changed 8 years ago by
Attachment: | test_ff_mousewheel.html added |
---|
comment:1 Changed 8 years ago by
Since I know OS can matter: It's happening on Windows 7 64-bit, don't have access to another OS to try.
comment:2 Changed 8 years ago by
I dug at this some more, and came up with this.
- Firefox will support wheel and DOMMouseScroll, but not mousewheel.
- Chrome will support mousewheel, but not wheel nor DOMMouseScroll.
- IE9 supports wheel. (Unsure about the other two.)
- IE8 supports mousewheel in a haphazard manner, but not wheel nor DOMMouseScroll.
I'm not sure it makes sense to have mousewheel and wheel work for one another, but if that's not done, to get multibrowser support at least 2 event handlers have to be set up to deal with the Chrome/FF difference.
comment:3 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Given that no one has shown interest in creating a patch in more than 3 years, I'm closing this as patchwelcome. Please let us know if you would like to get involved in helping make this change to Dojo!
Firefox Mousewheel Test