Created attachment 465978 [details] Screen recording of the issue Searching for a text on a page with scroll-snap on html fails. The user can find the text, but after the browser has scrolled the text into view it snaps back to the previous snap position. Steps to reproduce: 1. Open a page with scroll-snap on root (https://johannesodland.github.io/browserbugs/safari-scroll-snap-scroll-to-top-issue.html) 2. Tap the url-bar and enter a text. 3. Under "On this page" select "Find <text>" Expected result: The page is scrolled to a snap position where the text is visible and snaps to this position Actual result: The page is scrolled to a scroll position where the text is visible, but then snaps back to the previous snap position
<rdar://problem/108543679>
Retested on iOS 16.5 The issue is still present
Retested on iOS 17. The page still snaps back to the top after scrolling to show the searched text.