Steps to reproduce: 1. Open https://www.reddit.com/r/askreddit/ in Safari 17 2. Scroll down the page 3. Click on a link to open an article 4. Click the back button in the toolbar Expected results: The previous scroll position is restored. Actual results: The scroll position is at the top of the page. Discussion: This bug occurs in Safari 17 but not in Safari 16. The bug does not occur if you open https://www.reddit.com/r/AskReddit/ in step 1. I'm having difficulty producing a reduced test case, because I'm using a Mac, which has a case-insensitive file system. What's happening on Reddit is that it calls window.location.replace("/r/AskReddit/") to redirect from the lowercase /r/askreddit/, which seems to be the cause of the bug in Safari 17.
<rdar://problem/116482078>
This didn't reproduce for me on Safari 17.2.
Hmm, I can't reproduce it anymore either. I don't know whether that's due to Safari changing or Reddit changing.
Works for me and Nick. Not sure if the fix was on server side or WebKit side.