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

Flatdocs menu highlights wrong section #97

Open
mothra42 opened this issue Jan 4, 2018 · 1 comment
Open

Flatdocs menu highlights wrong section #97

mothra42 opened this issue Jan 4, 2018 · 1 comment

Comments

@mothra42
Copy link

mothra42 commented Jan 4, 2018

On our side bar menu the active class is added to the wrong section. It seems like the current id and previous id that the script is looking at is off. Any help is appreciated.

@mattrmay
Copy link

mattrmay commented Feb 13, 2018

Likely to due with static values used in your calculation in script.js. I'll see if I can find another way to solve this when I get home from work!

// Find the current active section every scroll tick.

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

No branches or pull requests

2 participants