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

Right navbar column skips the section clicked #853

Open
dylanh724 opened this issue Aug 14, 2024 · 3 comments
Open

Right navbar column skips the section clicked #853

dylanh724 opened this issue Aug 14, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@dylanh724
Copy link

dylanh724 commented Aug 14, 2024

Describe the bug

context
When I click a right column child header, it skips to the section above or below my cursor and awkwardly highlights the incorrect section:

firefox_TzsPDODW5T

expectation
When I click on a header anchor link on the right column nav, I expect it to go straight there and highlight the correctly selected link.

bug
Perhaps it has to do with smoothing scripts?

Reproduce the bug

Repro'd via your own release notes: Try clicking around the right nav (in Firefox desktop, at least) - it goes wild:

firefox_OpQkqUztHb

List your environment

No response

@dylanh724 dylanh724 added the bug Something isn't working label Aug 14, 2024
@dylanh724
Copy link
Author

To add: The body anchors appropriately as expected; it's just the highlighted navbar item. Since the bug repro'd live on your site, it should be pretty easy to play with.

@dylanh724
Copy link
Author

Heya, know anything about this @gregcaporaso ?

@dylanh724
Copy link
Author

This can partially be repro'd on PyData:

https://pydata-sphinx-theme.readthedocs.io/en/stable/examples/kitchen-sink/admonitions.html#attention

However, this one only goes +1 up; it won't go +1 down. Still probably the same cause, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant