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: | Scrolling | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | johannes.odland, simon.fraser |
| Priority: | P2 | ||
| Version: | Safari 16 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 16 | ||
Zouhir
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
*** This bug has been marked as a duplicate of bug 253056 ***