NEW333117
[iOS] Scroll chaining is blocked by a scroll container on the perpendicular axis
https://bugs.webkit.org/show_bug.cgi?id=333117
Summary [iOS] Scroll chaining is blocked by a scroll container on the perpendicular axis
Bruno Stasse
Reported 2026-11-25 11:55:00 PST

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:

  1. Open repro-horizontal.html in Safari on iOS. The blue content is already scrolled all the way to the right.
  2. Swipe left from the middle of the blue area. Tap Check result to see whether the gray container scrolled.

Vertical:

  1. Open repro-vertical.html in Safari on iOS. The blue content is already scrolled to the bottom.
  2. Swipe up from the middle of the blue area. Tap Check result to see whether the gray container scrolled.

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:

  • Safari, iOS 27.0 (24A434), iPhone 18 Pro Simulator
  • Safari, iOS 27.3 beta (24C5037i), iPhone 18 Pro Simulator
  • Safari, iOS 27.3 beta, iPhone 16 Pro

Not reproduced in:

  • Chrome 133.0.6943.137, Android 16, Android Emulator (touch)
  • Chrome 158.0.8127.37, macOS 27.0.1 (wheel)

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

  • repro-horizontal.html: horizontal scroll chaining with a vertical scroller in the middle.
  • repro-vertical.html: vertical scroll chaining with a horizontal scroller in the middle.
  • video-horizontal.mp4: the horizontal swipe before and after turning off vertical scrolling in the wrapper, in Safari on the iOS 27.3 simulator.
  • video-vertical.mp4: the vertical swipe before and after turning off horizontal scrolling in the wrapper on the same simulator.
Attachments
repro-horizontal.html (3.22 KB, text/html)
2026-11-25 11:55 PST, Bruno Stasse
no flags
video-horizontal.mp4 (78.56 KB, video/mp4)
2026-11-25 11:55 PST, Bruno Stasse
no flags
repro-vertical.html (3.16 KB, text/html)
2026-11-25 11:56 PST, Bruno Stasse
no flags
video-vertical.mp4 (81.34 KB, video/mp4)
2026-11-25 11:56 PST, Bruno Stasse
no flags
Bruno Stasse
Comment 1 2026-11-25 11:55:59 PST

Created attachment 482567 [details]
video-horizontal.mp4

Bruno Stasse
Comment 2 2026-11-25 11:56:22 PST

Created attachment 482568 [details]
repro-vertical.html

Bruno Stasse
Comment 3 2026-11-25 11:56:47 PST

Created attachment 482569 [details]
video-vertical.mp4

Note You need to log in before you can comment on or make changes to this bug.