Scrollspy adds active class to nav-link. It even says it requires Bootstrap nav component. But in the Bootstrap nav component docs mark up has active in nav-item.
Seems confusing, I tought my scrollspy was not working since mas link styling was depending on .nav-item.active and took my a while to figure it out. Shouldn't this be consistent or add a note to the docs?
Scrollspy adds
activeclass tonav-link. It even says it requires Bootstrap nav component. But in the Bootstrap nav component docs mark up hasactiveinnav-item.Seems confusing, I tought my scrollspy was not working since mas link styling was depending on
.nav-item.activeand took my a while to figure it out. Shouldn't this be consistent or add a note to the docs?