-
Notifications
You must be signed in to change notification settings - Fork 435
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
Not activating link #29
Comments
interesting, will look into it |
Same issue here ! |
Same here |
Same issue here |
This problem still exists |
turning smooth scrolling off fixes this for me |
still exists |
The issue still exists. However, as somebody mentioned you can turn off smooth scrolling. Then, to get the smooth effect, you can add this at the top of your style sheet - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Helpers.js there's a code on line 75 which determines if link needs to be active. I added console log there like so
If I click a link and it scrolls to element top to bottom, then the value of "to" is wrong, but as I scroll just one pixel it is calling it again with correct "to" value. So my link doesn't get active class unless i scroll a little bit.
Surprisingly this is not the case when I am at the bottom of a page and scroll bottom to top by pressing on link
The text was updated successfully, but these errors were encountered: