NEW264763
[macOS] Scrolling occurs on `pointer-events: none` container when child that does react to scroll events cannot scroll anymore
https://bugs.webkit.org/show_bug.cgi?id=264763
Summary [macOS] Scrolling occurs on `pointer-events: none` container when child that ...
Abrar Rahman Protyasha
Reported 2023-11-13 12:00:00 PST
In 270094@main, we fixed the case where a scroll container has `pointer-event:none` but some child still reacts to scroll events, but it looks like we're still scrolling the ancestor container when the scrollable child cannot react to scroll events anymore (i.e. we've scrolled to the bottom of the child). Repro video attached. Test case is on https://pages.github.pie.apple.com/ada-cannon/misc/scroll-menu-nohax.html. This is not necessarily a regression because this was our default (and only) behavior before 270094@main, but now we're doing the right thing initially and _still_ have this buggy behavior.
Attachments
Test case (15.46 KB, text/html)
2023-11-13 12:07 PST, Abrar Rahman Protyasha
no flags
Repro video (55.90 MB, video/quicktime)
2023-11-13 12:11 PST, Abrar Rahman Protyasha
no flags
Radar WebKit Bug Importer
Comment 1 2023-11-13 12:00:46 PST
Abrar Rahman Protyasha
Comment 2 2023-11-13 12:07:20 PST
Created attachment 468583 [details] Test case
Abrar Rahman Protyasha
Comment 3 2023-11-13 12:07:56 PST
Comment on attachment 468583 [details] Test case Attaching the test case as an HTML file because the linked page is not accessible for non-Apple folks.
Abrar Rahman Protyasha
Comment 4 2023-11-13 12:11:06 PST
Created attachment 468584 [details] Repro video
Note You need to log in before you can comment on or make changes to this bug.