Bug 216926 - Scroll container reverts back to previous snap point while the user is scrolling
Summary: Scroll container reverts back to previous snap point while the user is scrolling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari 14
Hardware: iPhone / iPad iOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-09-24 04:59 PDT by Johannes Odland
Modified: 2020-10-02 03:02 PDT (History)
3 users (show)

See Also:


Attachments
Video of the issue on an iPhone 11 Pro with iOS 14 (1.21 MB, video/mp4)
2020-09-24 04:59 PDT, Johannes Odland
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Odland 2020-09-24 04:59:47 PDT
Created attachment 409559 [details]
Video of the issue on an iPhone 11 Pro with iOS 14

Some users experience that the scroll container reverts to the previous snap point while they are scrolling. 
The issue might be caused by reflow. 

I've managed to reproduce the bug with a small example: https://codepen.io/johannesodland/pen/xxVmamJ

We've tested this on two similar iPhone 11 Pros on iOS 14. 
One of the phones snaps back to the original snap point while the user is scrolling. This does not happen on the other phone.
Comment 1 Radar WebKit Bug Importer 2020-09-27 10:05:27 PDT
<rdar://problem/69660064>
Comment 2 Johannes Odland 2020-09-27 23:02:21 PDT
This issue breaks websites with scroll snap on some devices.
Comment 3 Simon Fraser (smfr) 2020-09-28 15:28:11 PDT
Do you know what's different about the two phones? Are they both running the exact same build?
Comment 4 Simon Fraser (smfr) 2020-09-28 15:32:14 PDT
I can reproduce the bug you describe in iOS 13.x, but not in iOS 14.
Comment 5 Johannes Odland 2020-09-29 01:16:00 PDT
The phone with the issue runs build 18A5332f
Comment 6 Simon Fraser (smfr) 2020-09-29 09:27:48 PDT
And what OS is the phone without the issue running?
Comment 7 Johannes Odland 2020-09-29 10:28:38 PDT
The phone without the issue has been updated since reporting the issue. It was iOS 14, it is now iOS 14.0.1 18A393
Comment 8 Simon Fraser (smfr) 2020-09-29 11:23:27 PDT
So I think it's to say that the issue has been fixed between 18A5332f and 18A393.
Comment 9 Johannes Odland 2020-10-02 01:29:05 PDT
The bug is still there in 14.0.1 18A5332f.
Comment 10 Johannes Odland 2020-10-02 03:02:49 PDT
I'm sorry. The phone was still running the old build. 
Can confirm that the issue is fixed in 14.0.1. 18A393.