Bug 253110

Summary: Scroll jumps to an incorrect position if the user taps the viewport before scroll-snapping is complete
Product: WebKit Reporter: Zouhir <zouhir>
Component: ScrollingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: johannes.odland, simon.fraser
Priority: P2    
Version: Safari 16   
Hardware: iPhone / iPad   
OS: iOS 16   

Description Zouhir 2023-02-28 14:17:39 PST
Repro steps:

1- Go to https://scroll-snap-demo.web.app/
2- Scroll past the results (~3500px on iPhone XR)
  2.a- When you reach colorful sections, you should start noticing CSS scroll snap points.
3- Scroll to go to next colorful section.
4- Before scroll snap is complete, *tap* anywhere on the screen.

Actual Behavior on Safari 16 in iOS:
- Tapping interrupts scroll snapping, and causes scrolling to jump, restoring the original position before any scrolling happened.

Expected behavior:
- Tapping should not cause any scrolling position to change
Comment 1 Simon Fraser (smfr) 2023-02-28 14:21:47 PST

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