Created attachment 465214 [details] A screen recording of the bug. The user taps the screen before the scroll has settled, and the browser scrolls back to the previous snap point. How to reproduse: 1. Open a page with scroll-snap on :root/html (I.e. this codepen in debug mode: https://codepen.io/johannesodland/pen/poORgOr) 2. Scroll down 3. Tap the screen before the scroll has settled Expected result: The tap should be registered as a normal click. This happens on desktop Safari, in other browsers and when scrolling a scroll-container with scroll-snap. Actual result: The current snapping is interrupted, and the browser snaps back to the previous snap-point.
One more thing: The click is not propagated to event-handlers, preventing the page from reacting to clicks before the scroll has settled completely.
*** Bug 253110 has been marked as a duplicate of this bug. ***
<rdar://problem/106346034>
I have retested on iOS 16.4 and the bug still persists. I moved the test case to a new location for easier testing: https://johannesodland.github.io/browserbugs/safari-scroll-snap-click-during-scroll-issue.html
Created attachment 466445 [details] Screen recording of issue on iOS 16.5: tapping multiple times before scroll has landed causes the page to scroll a small amount Retested on iOS Safari 16.5 The bug seems to be partially fixed. Tapping the screen once before the scroll has settled seems to work ok now. Unfortunately, tapping the screen multiple times before scroll has settled can cause the page to scroll a small amount up or down. When this happens the scroll does not snap to a snap point. Attaching a screen recording of the issue.