or
https://bugs.webkit.org/show_bug.cgi?id=333117
Created attachment 482566 [details] repro-horizontal.html
SUMMARY When a user swipes past the edge of scrollable content, the gesture should scroll the next ancestor that can scroll in that direction. In Safari on iOS, that ancestor stays still if a container between them scrolls on the perpendicular axis. This affects both horizontal and vertical scrolling, even with overscroll-behavior: auto.
STEPS TO REPRODUCE
Horizontal:
Vertical:
Tap Restart to repeat either test with the same settings.
EXPECTED The gray container scrolls right in the horizontal test and down in the vertical test. It has room to scroll, and the blue container uses overscroll-behavior: auto.
ACTUAL The gray container stays at 0px on both pages (FAIL).
For comparison, use the checkbox below the test to turn off scrolling in the middle container. The same swipe now scrolls the gray container (PASS).
IMPACT A reader can scroll to the bottom of a card in a horizontal carousel, then swipe up again to keep reading the page. The page stays still until the reader starts a swipe outside the card.
TESTED Reproduced in:
Not reproduced in:
HISTORY Bug 239288 (https://bugs.webkit.org/show_bug.cgi?id=239288) reported the vertical case in April 2022. It was closed as MOVED in June 2022 after WebKit confirmed the issue was still open internally as rdar://92112692. Please keep a public report open until the behavior is fixed.
ATTACHMENTS
Created attachment 482567 [details] video-horizontal.mp4
Created attachment 482568 [details] repro-vertical.html
Created attachment 482569 [details] video-vertical.mp4