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
  • #34698
Closed
Open
Issue created Aug 05, 2021 by Administrator@rootContributor

Tab content of active tab (inside a Accordion) disappears after opening the Accordion.

Created by: sebastianbrosch

Operating system: Windows 10 Browser: Google Chrome 92.0.4515.131

Since Bootstrap 5.1.0 the tab content of the first tab inside a Accordion isn't visible anymore.

Demo Bootstrap 5.0.2 (working): https://codepen.io/sebastianbrosch/pen/NWjONrJ Demo Bootstrap 5.1.0 (not working): https://codepen.io/sebastianbrosch/pen/LYyBXpa

After reopening the Accordion the content of the first Tab disappears. Opening the Accordion is removing .show class from .tab-pane (and also adds a .collapse class to .tab-pane). The content of the active tab disappears after reopening the Accordion.

It looks like this commit caused the issue: https://github.com/twbs/bootstrap/pull/34220/commits/bb668550b19610b5f438d6d98be7eec4efbb0a26. If I revert this commit and try the example above the tabs are working again.

Assignee
Assign to
Time tracking