Bug 239288 - Scroll chaining on iOS does not occur in certain overflow cases
Summary: Scroll chaining on iOS does not occur in certain overflow cases
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 15
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-13 09:21 PDT by harry-moore
Modified: 2022-06-23 16:45 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description harry-moore 2022-04-13 09:21:49 PDT
If we scroll on an element that is overflowing, its scroll should chain to scroll its parent when its scroll position is at the end.

In this codepen (https://codepen.io/HazzMan2409/pen/KKZxxGx) this does not happen when you scroll vertically on the child.

There is an element in between the two vertically scrolling elements that scrolls in the opposite direction, I believe it is that element that is causing the bad behavior.

Note that this behaves fine on desktop Safari.
Comment 1 Ryan Haddad 2022-04-21 17:12:13 PDT
rdar://92112692
Comment 2 Brent Fulgham 2022-06-23 16:36:40 PDT
We believe this was fixed in the current release.
Comment 3 Simon Fraser (smfr) 2022-06-23 16:45:28 PDT
Actually not fixed, but it's represented internally by the above radar.