Skip to content

[BS4] active class #74

@robsdedude

Description

@robsdedude

Bootstrap 4 sets the active class on the anchor elements rather than the li elements. This causes

$('#input-widget').scrollingTabs({
        tabs: [{..., active: true}],
});

not to work properly (no visual indication of activeness) with BS4. My suggestion (quick fix) is to add the active class to both the as and the lis. I've tested it on BS4 and it looks fine. I'm not sure what BS3 would do with that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions