Inverted wheel event deltaX

Not reproducible Issue #8444720


Aug 10, 2016
This issue is public.
Found in
  • Microsoft Edge
Standard affected
UI Events

Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Use code like the following, and observe that deltaX (and wheelDelta, and wheelDeltaX) is negative when scrolling right, and positive when scrolling left, unlike every other browser including IE9-11 (IE11 on Windows 10 included). However, deltaY is still correct and matches every other browser.

    window.addEventListener('wheel’, function(e) {
         console.log(e.deltaX, e.deltaY);

The spec strongly suggests this is incorrect behavior:

“If a user agent scrolls as the default action of the wheel event then the sign of the delta SHOULD be given by a right-hand coordinate system where positive X, Y, and Z axes are directed towards the right-most edge, bottom-most edge, and farthest depth (away from the user) of the document, respectively.”

I also cannot find any reference to this bizarre change on MSDN.

A Stack Overflow post on the issue for reference:


0 attachments

    Comments and activity

    • Alas, the markdown which worked in preview was mutilated when saved, but removing js and will give you functioning code.

    • One minor correction: wheelDelta and wheelDeltaX are actually correct, it’s just deltaX with the incorrect sign value.

    • Microsoft Edge Team

      Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Travis L.” to “Ionel P.”

      Changed Status from “Confirmed” to “Not reproducible”

    • Hello,

      Thank you for providing this information about the issue. We confirmed the problem, and will implement a solution on a later build of Edge. We are resolving this issue as a duplicate of an existing internal bug report. We look forward to additional feedback you may have on how we can improve Microsoft Edge.

      Best Wishes,
      The MS Edge Team

    You need to sign in to your Microsoft account to add a comment.

    Sign in