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
  • #31554
Closed
Open
Issue created Aug 30, 2020 by Administrator@rootContributor

Collapse animation is not smooth when toggled via a button within the "collapse" element

Created by: alexpls

Bootstrap Version: 5.0.0-alpha1 Operating system: Windows 10 Browser: Firefox 80, Chrome 84


Hello,

I've noticed a case where the close animation for collapsible elements does not display smoothly:

Repro

  1. Visit this JSBin https://jsbin.com/xihawedasa/edit?html,output
  2. Click the "Outer toggle" button to open the collapsible element
  3. Click the "Inner toggle" button to close it

Expected

  1. The animation for closing the element displays smoothly

Actual

  1. It doesn't

Notes

  • This appears to be a regression since Bootstrap 4 (discussion).

If you consider this a bug, I'm happy to investigate what its cause is and open a PR to fix it.

Thanks for your awesome work on Bootstrap 😄

Assignee
Assign to
Time tracking