jquery-scrollspy
jquery-scrollspy copied to clipboard
Using .on("scrollSpy:enter"), does not detect all spied elements
I'm using the jquery.on method with the scrollSpy:enter/:exit event, and the plugin is not detecting all of the divs I have it looking for.
I have the plugin looking for divs with specific classes, then applying a class to an SVG dot navigator to show the current section scrolled to. The functionality is a bit finicky, with sections not properly being detected, classes not being applied, etc. I have checked my code and it works fine, but the issue is that it's hooked on to the custom event.