-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Skrollr and Bootstrap Scrollspy #235
Comments
Could you set up an example I can use for debugging? thanks |
Hi, I am having same issue with bootstrap scroll spy. EDIT: |
Your content is positioned fixed. There's absolutely no way for Bootstrap or anyone to know, when you want the navigation item to become active. ScrollSpy also has |
Thanks, I added data-offset accordingly. Not working. EDIT: Thanks! |
I've just opened your page again and it's working in Firefox and Chrome. Does it work for you as well? |
Actually, the one working that you notice was I use other method (using data.curTop) to trigger it active. I had reverted back to previous now (using bootstrap ScrollSpy). If you want to check it out. Hope that skrollr-menu Prinzhorn/skrollr-menu#15 implement active link on scroll so that I no need to depend on other pluggins. |
I took a look at it, but I don't have time to get deeper into scrollspy. Don't expect Prinzhorn/skrollr-menu#15 to be implemented any time soon. It needs some major changes to skrollr itself as well. |
Anyway to get skrollr and bootstrap scroll spy to play nice together in Firefox and IE 9/10 (working in Chrome)?
I'm guessing this has to do with the way skrollr calculates page height and then Bootstrap scroll spy is trying to do the same thing.
Do I need to have Bootstrap scrollspy calculate page height after skrollr is finished? If so, how would I go about doing that?
Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: