The browser "back" button doesn't work
The browser "back" button doesn't work after clicking a fragment link (/page => /page#something).
URL changes back from /page#something to /page, but it has no effect on the scroll position.
To be precise, after navigating from /page#something1 to /page#something2 the back button works. But if you open a /page and scroll down, then click a link that takes you to /page#something, the back button won't take you back (to the scroll position you were at).
can i work on this?
I am working on this!
Update: this still seems broken on the new react.dev site. It works sometimes but not all the time.
If you want to fix this, please just submit a PR, no need to ask to be assigned.
will try to work on this issue
@trevlee0212 go ahead, thanks for the help! Submit a PR when you have a working fix.
@pwbriggs PR submitted!
I noticed that this issue hasn't been addressed since February. I was able to reproduce the bug and would like to work on fixing it. Has it already been resolved?
Also, could you provide a video description?
@mannika763 my PR #6614 basically provided the solution for fixing the bug. Just waiting for it to get reviewed. But feel free to contribute if you have any other (or better) solution!