Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/pkgsite: going back a page loses context #42456
What is the URL of the page with the issue?
I happened to be looking at https://beta.pkg.go.dev/github.com/autom8ter/machine, but it could be any page with a long description.
What is your user agent?
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
What did you do?
I had expanded the (long) description and was half way through reading it, then clicked on a link in the description, which took me to a new page, then clicked the browser "Back" button.
This took me back to the original page, but the description had collapsed again, losing my context. I had to re-expand and scroll back down to find where I was before.
I'd expect the back button to take me back to exactly where I was previously so I could continue browsing the docs easily.