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

Fix scrollspy so TOC expands when sections are clicked #657

Merged
merged 1 commit into from May 11, 2022

Conversation

choldgraf
Copy link
Collaborator

I noticed that clicking an internal link in the right TOC does not actually "open" that section in the TOC because the scrollspy data offset is too little. So this increases by 3x, so that the TOC is updated when the header is a bit further into the middle of the screen.

@choldgraf choldgraf changed the title Increase scrollspy amount Fix scrollspy so TOC expands when sections are clicked May 6, 2022
@choldgraf
Copy link
Collaborator Author

Gonna self-merge this one because I think it's pretty straightfoward and fixes a bug here!

@choldgraf choldgraf merged commit 7546c2e into pydata:master May 11, 2022
@jarrodmillman jarrodmillman added this to the 0.9 milestone May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants