[Webkit-unassigned] [Bug 281300] New: passive wheel event listener and overscroll-behavior: contain prevent scrolling
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 11 06:17:50 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=281300
Bug ID: 281300
Summary: passive wheel event listener and overscroll-behavior:
contain prevent scrolling
Product: WebKit
Version: Safari 18
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Scrolling
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rchclement at gmail.com
CC: simon.fraser at apple.com
While using a passive "wheel" event listener "window.addEventListener('wheel',()=>{},{passive:false})" and "overscroll-behavior: contain" on html element, it fully blocks the scrolling. Apparently "overscroll-behavior-y: contain" works using a trackpad but not using a mouse.
It seems to happen on all Safari versions, I tested by myself on Safari 17.2.1 and Safari 18.0.1.
Here is a minimal reproduction link:
https://codepen.io/ClementRoche/pen/WNVRQXG
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241011/67bdcf58/attachment.htm>
More information about the webkit-unassigned
mailing list