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
  • #19849
Closed
Open
Issue created May 06, 2016 by Administrator@rootContributor

Click on disabled tab still shows corresponding pane

Created by: Paladinium

Using the tab JavaScript plugin with alpha v2, a disabled tab switches the tab content when being clicked. This bug can be seen in the documentation:

  • Go to http://v4-alpha.getbootstrap.com/components/navs/#javascript-behavior
  • Add class 'disabled' to the 'Profile' tab (e.g. using Firebug)
  • Notice that the 'Profile' tab correctly appears to be visually disabled, also when hovering over the tab
  • Click on the 'Profile' tab
  • The tab's content is switched

Expected: no tab switch happens when clicking on disabled tabs.

The JavaScript needs to take the 'disabled' CSS class (maybe also the 'disabled' attribute) on nav-link into account.

Assignee
Assign to
Time tracking