Not activating link
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(offsetY >= top && offsetY <= height && scroller.getActiveLink() != to) {
console.log("yes", to)
scroller.setActiveLink(to);
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
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 - html, body{ scroll-behavior : smooth }. Hope this helps