[Webkit-unassigned] [Bug 273031] New: Scrollable elements with `pointer-events: none` prevent scroll events to pass through underlying scrollable sibling elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 20 09:08:58 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=273031

            Bug ID: 273031
           Summary: Scrollable elements with `pointer-events: none`
                    prevent scroll events to pass through underlying
                    scrollable sibling elements
           Product: WebKit
           Version: Safari 17
          Hardware: Mac (Apple Silicon)
                OS: macOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hernan at pagy.co
                CC: simon.fraser at apple.com

If I have a scrollable element A with `pointer-events: none` overlaid on top of another scrollable sibling element B with `pointer-events: auto`, I’d expect scrolling with the pointer over B would scroll element A but it does not.

Tested in Safari 17.4.1 (macOS 14.4.1) and Safari Technology Preview Release 192.

It does work as expected in Chrome and Firefox. Also in Safari 17.1 on macOS Ventura.

Here’s an example reproducing it: https://codesandbox.io/p/devbox/safari-bug-kyzvjt

-- 
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/20240420/f583ff78/attachment.htm>


More information about the webkit-unassigned mailing list