- From: Masayuki Nakano via GitHub <noreply@w3.org>
- Date: Mon, 12 Jan 2026 22:03:18 +0000
- To: public-pointer-events@w3.org
masayuki-nakano has just created a new issue for https://github.com/w3c/pointerevents: == `wheel` event listeners cannot prevent default scroll only along specific direction == 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. Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/594 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 12 January 2026 22:03:19 UTC