Skip to content

Scrollspy and active item/link #20451

Description

@CydGoblin

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions