onwheel feature detection - by Real McCoy

Status : 


ID 768199 Comments
Status Active Workarounds
Type Bug Repros 1
Opened 10/21/2012 3:59:37 PM
Duplicates 782835 Access Restriction Public


There are some serious problems with onwheel event in IE9 and IE10.

1- Wheel feature detection: Open console > paste > 'onwheel' in document > hit Enter > returns false. (it should return true as this feature is supported!).

2- Wheel event binding: Open console > paste > window.onwheel = function(){alert(1)}) > hit Enter > scroll in window with wheel > doesn't work. (only window.addEventListener("wheel", function(){alert(1)}) works!)

3- The wheel event doesn't fire on horizontal scroll with capable mouse, trackpads or touchpads. (even though IE9, IE10 perform horizontal scrolling but JavaScript doesn't get the event)

4. There is no way to tell, on which axis the page is scrolling.

More on http://stackoverflow.com/q/10821985/863980

Sign in to post a comment.
Posted by Microsoft on 8/3/2015 at 8:40 AM
Thank you for the feedback this issue has been resolved in Windows 10 MS Edge.
Best regards,
The MS Edge \ IE Team.
Posted by m_gol on 7/2/2015 at 4:18 PM
This is fixed in Edge \o/
Posted by Danil Kostin on 9/4/2013 at 5:15 PM
Currently, the "onwheel" attribute is not defined in HTML spec, see http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#global-attributes.

So, we should also add this event to spec.
Posted by Microsoft on 8/22/2013 at 2:53 PM
Hello Real McCoy,
You make a number of very good point and we agree with the need for onwheel as a feature detect. This feedback has been reviewed by the product team for Internet Explorer 11 consideration. However at this time we will need to postpone the bug until a future release. This connect bug will remain in an active state and we will update if new information becomes available.
Best regards,
The Internet Explorer Team
Posted by Microsoft on 6/27/2013 at 2:58 PM
Thank you for your feedback.
At this time we do not plan on fixing this issue.
Your feedback is helping us see the needs of our users so we can improve the quality of Internet Explorer. We continue to welcome more feedback and look forward to hearing from you again soon.

Best regards,
The Internet Explorer Team
Posted by Microsoft on 10/23/2012 at 2:20 PM
Thank you for your feedback.

In order to expediate the investigation of this issue, please attach a sample page or url that reproduces this issue.

Best regards,

The Internet Explorer Team