Created attachment 465960 [details] Video of the bug Refreshing on a page with scroll-snap on html fails. The viewport gets stuck in the negative overflow area above the ICB. The user has to forcibly scroll down to get back to the page. If the user uses VoiceOver they are stuck. Steps to reproduce: 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. Scroll down so that the viewport snaps to a position further down on the page 3. Refresh the page Expected result: The page is refreshed and the user can continue to interact with the refreshed version. Actual result: The page is refreshed, but the scroll position of the viewport is above the actual page so that the page can not be accessed. The user can scroll down to the page if they try. If the user uses VoiceOver they can not navigate the page.
<rdar://problem/108206227>
Retested on iOS Safari 16.5. I can no longer reproduce the issue.
Thank you for testing.