-
Notifications
You must be signed in to change notification settings - Fork 0
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
Scrollspy is not always working #244
Comments
This seem to be mostly publications (maybe because there are a lot of those?) |
The bootstrap scrollspy functionality uses the IntersectionObserver to control when to add the This also might be related resizing but I don't think so. |
…s-working Issue #244 - Changing the rootMargin offset to -48px top/bottom.
The PR is an improvement but not a fix. "This occurs when sections aren't large enough to take up the display space, so when a few sections are all on the page at the same time ScrollSpy defaults to the last section." We'd probably need to write a custom solution for the but I am not 100% sure the best method for this.
Leaving this open for now to potentially revisit if we can enough feedback on this. |
On smaller screens sometimes the publication table of content item is not marked as active.
Steps to Duplicate
Publications
table of content item will not be highlighted.The text was updated successfully, but these errors were encountered: