-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
duScrollspy not working and other strange behaviour #130
Comments
Aha, changing scrollTop to duScrollTo solved the first issue as mentioned in the doc. But the main problem is open that why du-scrollspy is not doing anything. |
Does the demo work? If so, then you're doing something wrong but it's hard for me to tell what without any code. Can you post a plunker? On Fri, Jul 3, 2015 at 8:29 AM, Janne Kurkinen notifications@github.com
|
I would need scrollspy feature for just so simple task that a sub-navigation element would be applied a class / fixed position after it is scrolled over the top. Perhaps this library is overkill for it? I just tried to strip the demo off all the scrollspy features except one element having du-scrollspy directive applied. No active class was applied then. |
|
I found a weird hidden issue in my code that my be relevant to you, mentioned here. |
Sorry can't recall what I was using then but certainly pre 1.5.5. Checkout my comment in the other thread - it was down to the component/view/controller being compiled twice for some reason. |
Hi,
When I added this to my navigation controller to be run before view change:
I get console errors:
For some reason "du-scrollspy" is not working at all, no errors in console. I have tried in on several different elements, only one at a time and no other directives or functionalities of this library in use. I encountered the above mentioned error when trying other functionality to ensure the library has been properly loaded as it was failing silently.
The text was updated successfully, but these errors were encountered: