jquery-scrollspy icon indicating copy to clipboard operation
jquery-scrollspy copied to clipboard

Using .on("scrollSpy:enter"), does not detect all spied elements

Open geoffdavis92 opened this issue 9 years ago • 0 comments

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.

geoffdavis92 avatar Nov 16 '15 23:11 geoffdavis92