#11711 closed bug (invalid)
Can't get event.detail of DOMMouseScroll event in firefox
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | event | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I bind an event via jquery v1.7+ on a DOMMouseScroll event in firefox but can't get event.detail,while via addEventListener() and jquery v1.6.4- the result is what it's supposed to be.
Some days ago I asked here https://forum.jquery.com/topic/a-bug-dommousescroll-event-of-firefox ,but got no answer.
TestCase:http://jsfiddle.net/snDUq/
Change History (2)
comment:1 Changed 11 years ago by
Component: | unfiled → event |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 11 years ago by
Thx.Firefox dosn't have mousewheel event so I have to use DOMMouseScroll event instead.
Note: See
TracTickets for help on using
tickets.
The DOMMouseScroll event is a Firefox only event. The property is not copied over to the jQuery event object.
You can still access it using e.originalEvent.detail
But I would strongly suggest you use the standardized 'mousewheel' event instead.