patrickmarabeas / ng-ScrollSpy.js

An AngularJS module for navigation highlighting
http://patrickmarabeas.github.io/ng-ScrollSpy.js
MIT License
26 stars 9 forks source link

Invalid behaviour offset #13

Open MartelBenjamin opened 9 years ago

MartelBenjamin commented 9 years ago

Hi, I have almost the same problem than the other "Issues". I have small section and when I scroll the wrong menu is highlighting. I think it's because of the offset which is 200, it takes the 1/3 of the page first. If the section is longger it's not a problem. And if I modify the offset manually with data-scrollspy-offset="0" or directelly in the ng-ScrollSpy.js it's doesn't change anything.

this is a screenshot: Image of Yaktocat

Have you an idea ? Thanks