Bug 253110 - Scroll jumps to an incorrect position if the user taps the viewport before scroll-snapping is complete
Summary: Scroll jumps to an incorrect position if the user taps the viewport before sc...
Status: RESOLVED DUPLICATE of bug 253056
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-28 14:17 PST by Zouhir
Modified: 2023-02-28 14:30 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***