2-finger scroll gesture on new on-screen touchpad in the "Creators Update" doesn't fire "wheel" events in Edge (or any UWP Apps Built in JS)

Duplicate Issue #10523255 • See Issue #7134034

Details

Author
Bryan C.
Created
Jan 13, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Duplicates
See progress on Bug #7134034
Found in build #
15.15007
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

The 2-finger vertical scroll gesture on the On-Screen Touchpad Doesn’t Fire “wheel” events in Edge (or any UWP Apps Built in JS). Instead it just scrolls the window without firing any wheel events.

Steps to Reproduce:

  1. Open this jsfiddle in Microsoft Edge: https://jsfiddle.net/0z8mvewo/
  2. Open the On-Screen Touchpad
  3. Try to use the vertical 2-finger scroll gesture on the on-screen touchpad over the image.

Expected behavior:

In this particular JSFiddle example, the javascript should capture the “wheel” event. Note: that this is DIFFERENT than the “scroll” event… Intercepting the “wheel” event should allow the javascript to change its default behavior, and is supposedly supported, according to the Edge Platform Status Page. In this example, the javascript is expected to capture and prevent the default vertical scrolling behavior, replacing it with horizontal scrolling behavior.

Actual behavior:

The browser does not fire the “wheel” event, so the javascript can’t intercept it and change its behavior. The result is the window scrolls vertically instead of horizontally.

Comparison to Chrome, Firefox, and Brave:

All other browsers (Chrome, Firefox, and Brave) fire the “wheel” event properly when using the on-screen touchpad, allowing the javascript to change its default behavior.

Note: I suspect this is related to this (very old and sadly neglected) Precision Touchpad bug as the same problem has plaged Surface touchpads since they launched. Lenovo is also using Precision touchpads in their new laptops, so they too will suffer from this bug. Can’t for the life of me understand why the Edge team isn’t all over this. Surely can’t be very hard to fix as regular mouse wheels fire the wheel event just fine.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

      Changed Assigned To to “Brad E.”

    • Still broken in 15031. Hopefully a fix can make it in time for the Creator’s Update!

    • OMG! FIXED IN build 15042! Thank you!

    • Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Steps to Reproduce

    • (sorry for all the “steps to reproduce” changes… I was just fixing the markdown for the jsfiddle link that was broken for some reason)

    • Wait… Sorry… I spoke too soon. Turns out I was testing the jsfiddle in Chrome, not Edge. Works fine in chrome (has for years). Still broken in Edge. Damn.

    • Hey look… an official Edge Blog post claiming “wheel” event support in Edge. WT actual F:

      https://blogs.windows.com/msedgedev/2017/03/08/scrolling-on-the-web/

    • Microsoft Edge Team

      Changed Assigned To to “Sermet I.”

      Changed Status to “Duplicate”

    • This bug has marked as duplicate. Please follow the parent issue to get new updates.

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

    Sign in