Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/pkgsite: navigating to elements with anchors breaks depending on page width #61961

Open
solodov opened this issue Aug 11, 2023 · 0 comments
Open

Comments

@solodov
Copy link

solodov commented Aug 11, 2023

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:

SCR-20230811-lvyk

And a narrower window just goes to the top of the page:

SCR-20230811-lwat

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?

SCR-20230811-lvvb

What did you see instead?

See the screenshots above.

@gopherbot gopherbot added this to the Unreleased milestone Aug 11, 2023
@findleyr findleyr modified the milestones: Unreleased, pkgsite/later Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants