[w3c/uievents] `wheel` event listeners cannot prevent default scroll only along specific direction (#257)

Coming from https://bugzilla.mozilla.org/show_bug.cgi?id=1599627

Even if web apps want to prevent default scroll of `wheel` events only vertical or horizontal axis, they cannot do it if both `deltaX` and `deltaY` are not 0 (i.e., when browser dispatches a `wheel` event as diagonal scroll).

I have no idea how to fix this in spec level. But it might be better that all browsers stop setting both `deltaX` and `deltaY` are non-zero. I.e., should fire `wheel` events twice per native diagonal wheel event.

-- 
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/257

Received on Wednesday, 8 January 2020 09:12:11 UTC