Re: [w3c/uievents] Needs alternative WheelEvent.deltaMode, WheelEvent.delat(X|Y|Z) (#181)

A bit of status here. 

Note that this debate was referenced in 
https://github.com/svgdotjs/svg.panzoom.js/issues/67
And this is the way they fixed it
https://github.com/svgdotjs/svg.panzoom.js/pull/68/files

We are also having yet another discussion on zoomPan function for openstreetmap related to the same topics. 
https://github.com/webcompat/web-bugs/issues/73148

In Mozilla bug, [deltaMode default should be DOM_DELTA_PIXEL](https://bugzilla.mozilla.org/show_bug.cgi?id=1392460), @emilio exposed DOM_DELTA_PIXEL rather than DOM_DELTA_LINES to the web

Important: https://bugzilla.mozilla.org/show_bug.cgi?id=1392460#c34
> It returns pixels unless deltaMode is checked before getting the delta. If you prefer pixels, you can get the delta before checking deltaMode (and deltaMode would return pixels with the fix for this bug).


This is available only on Nightly so far. 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/181#issuecomment-900827897

Received on Wednesday, 18 August 2021 05:44:00 UTC