Bug 150974 - Dynamic content in '-webkit-scrolling-touch' scrollable container breaks scrolling
Summary: Dynamic content in '-webkit-scrolling-touch' scrollable container breaks scro...
Status: RESOLVED DUPLICATE of bug 158342
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 9
Hardware: iPhone / iPad iOS 9.0
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2015-11-06 10:16 PST by Thomas Kelly
Modified: 2018-11-12 18:15 PST (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kelly 2015-11-06 10:16:27 PST
When the content of a scrollable container using '-webkit-overflow-scrolling: touch' changes height from being smaller then the container to larger, the container is not scrollable.

Steps to Reproduce:
1. Open this CodePen in iOS9 Safari http://s.codepen.io/t-kelly/debug/qOowZR
2. Touch the first container using '-webkit-overflow-scrolling: touch' expand the content.
3. Notice how it cannot be scrolled.
4. Touch the other containers not using '-webkit-overflow-scrolling: touch' and then notice how they are still scrollable.

Expected Results:
A container using '-webkit-overflow-scrolling: touch' should be scrollable when the content inside it changes in height and requires scrolling.

Actual Results:
Content inside a container using '-webkit-overflow-scrolling: touch' is not scrollable
Comment 1 Radar WebKit Bug Importer 2015-11-06 21:07:24 PST
Comment 2 Chris Rebert 2016-06-02 23:32:12 PDT
I can't reproduce this with the given testcase in the Simulator for iOS 9.3.
Comment 3 vladymirsch 2017-12-07 02:38:10 PST
Does "scrollable" mean "container not scrollable at all" or "container doesn't have a rendered scrollbar but can be scrolled"?

...if "container doesn't have a rendered scrollbar but can be scrolled" then it may be reproduced not from just one try.

I tapped 8 times and tried to scroll, on 9 time scrollbar disappeared but container could be scrolled.

More info at https://discussions.apple.com/message/32681209#message32681209

Reproduced on iPad, iOS 10.0, 11.0
Comment 4 Simon Fraser (smfr) 2018-11-12 18:15:25 PST
Forward dup (sorry).

*** This bug has been marked as a duplicate of bug 158342 ***