x/pkgsite: navigating to elements with anchors breaks depending on page width #61961
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite
Milestone
What is the URL of the page with the issue?
I first noticed it with, https://pkg.go.dev/bufio#Scanner, but quick check shows the same behaviour with any module and any symbol.
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Screenshot
About 1000 pixels wide, opening the url shows content just below the anchor:
And a narrower window just goes to the top of the page:
What did you do?
just tried navigating to symbol documentation with narrow enough window. I think navigation starts to break down when window is narrow enough that left hand side menu is collapsed.
Incognito mode makes no difference.
What did you expect to see?
What did you see instead?
See the screenshots above.
The text was updated successfully, but these errors were encountered: