Bug 264763 - [macOS] Scrolling occurs on `pointer-events: none` container when child that does react to scroll events cannot scroll anymore
Summary: [macOS] Scrolling occurs on `pointer-events: none` container when child that ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-13 12:00 PST by Abrar Rahman Protyasha
Modified: 2024-02-27 15:32 PST (History)
4 users (show)

See Also:


Attachments
Test case (15.46 KB, text/html)
2023-11-13 12:07 PST, Abrar Rahman Protyasha
no flags Details
Repro video (55.90 MB, video/quicktime)
2023-11-13 12:11 PST, Abrar Rahman Protyasha
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abrar Rahman Protyasha 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.
Comment 1 Radar WebKit Bug Importer 2023-11-13 12:00:46 PST
<rdar://problem/118347784>
Comment 2 Abrar Rahman Protyasha 2023-11-13 12:07:20 PST
Created attachment 468583 [details]
Test case
Comment 3 Abrar Rahman Protyasha 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.
Comment 4 Abrar Rahman Protyasha 2023-11-13 12:11:06 PST
Created attachment 468584 [details]
Repro video