hey, i am having a ton of issues getting scrollspy to work properly.
Issue 1:
$('.navbar').scrollspy({offest: 70});
Changing the offest and then clicking on the links does nothing. It refuses to acknowledge the offest when you click the links although it does respect the offset when you are scrolling down the page.
Issue 2:
$('.navbar li').on('activate', function(){console.log('activate')});
This callback does not get called because of this line, which I'm guessing always evaluates to true.
if ( active.parent('.dropdown-menu') ) {
active = active.closest('li.dropdown').addClass('active')
}
Also, I am getting weird behavior where one of the last nav element is auto selected.
hey, i am having a ton of issues getting scrollspy to work properly.
Issue 1:
Changing the offest and then clicking on the links does nothing. It refuses to acknowledge the offest when you click the links although it does respect the offset when you are scrolling down the page.
Issue 2:
This callback does not get called because of this line, which I'm guessing always evaluates to true.
Also, I am getting weird behavior where one of the last nav element is auto selected.