Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #20156
Closed
Open
Issue created Jun 22, 2016 by Administrator@rootContributor

Make active tab behaviour independent of html structure

Created by: alberto

In v4, the active tab selector is defined as:

ACTIVE_CHILD: '> .nav-item > .active, > .active',

The first selector forces us to use the nav-item class for the tab, which I would like to avoid in my case.

The second selector, which applies to the tab, not the link, doesn't seem to work correctly (see https://github.com/twbs/bootstrap/issues/18566)

Is the descendant selector really needed?

Assignee
Assign to
Time tracking