WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
177646
Scroll containers with "-webkit-overflow-scrolling: touch" don't always show scrollbars on scroll
https://bugs.webkit.org/show_bug.cgi?id=177646
Summary
Scroll containers with "-webkit-overflow-scrolling: touch" don't always show ...
Ben Frain
Reported
2017-09-29 04:02:47 PDT
This is iOS specific so view the following reduction on an iOS device:
https://codepen.io/benfrain/full/rGwWae
All of the horizontal panes are identical. However, only some of the scroll panes get the scroll handle when scrolled. If the problem doesn't occur first time, try refreshing and immediately scrolling some of the panes. Live site example:
https://mobile.bet365.com/#type=Splash;key=2;ip=0;lng=1
Scroll down that page a little to the list of race times and scroll those. Again, some exhibit the scroll bar handle, some don't.
Attachments
Repro case: rapid changes to scrollable height
(1.51 KB, text/html)
2019-02-11 14:51 PST
,
tahoon
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-10-02 07:00:02 PDT
<
rdar://problem/34766358
>
Simon Fraser (smfr)
Comment 2
2017-10-03 01:04:55 PDT
By "get the scroll handle" do you mean that they don't show scrollbars? Or that they don't handle the scroll (i.e. are not scrollable)?
Ben Frain
Comment 3
2017-10-03 01:35:56 PDT
I mean the scroll but the handle doesn't always appear when scrolled.
tahoon
Comment 4
2019-02-11 14:51:45 PST
Created
attachment 361714
[details]
Repro case: rapid changes to scrollable height This bug is timing-dependent. The symptom is that the user can swipe up and down to scroll an element; however, the scrollbar does not appear. Workaround is to change "-webkit-overflow-scrolling" to "auto" and then back to "touch" after a delay. Attachment provides two ways to reproduce this bug in iOS. The first way is reliable: 1. Check the "Add items automatically" checkbox. This adds items continuously to a scrollable area. 2. Flick finger up and down to scroll the list. Note that the scrollbar disappears (or does not appear in the first place). 3. Uncheck checkbox. This stops adding items. 4. Flick finger up and down. The list scrolls but there is no scrollbar. The second way is to add items manually. It is more difficult to reproduce. 1. Click "Add item" button quickly 4 to 5 times. 2. Lightly and quickly flick finger up on the scrollable area. 3. Area scrolls but scrollbar does not appear. 4. If cannot reproduce, click "Clear all" and try again. I have also managed to reproduce this bug with static HTML (no dynamic DOM modifications), but very rarely.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug