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
  • #21168
Closed
Open
Issue created Nov 20, 2016 by Administrator@rootContributor

Inconsistent behavior after using collapse('show') on Accordion

Created by: davidtgq

http://codepen.io/anon/pen/zoNyvO?editors=1010#0

To reproduce the problem:

  1. Open Item #2. It automatically collapses Item #1.
  2. Open Item #1 again. Item #2 does not automatically collapse.

The above steps can be also reproduced substituting Item 3 in lieu of Item 2 to demonstrate the same problem where Item 3 stays open.

The problem does not exhibit when:

  • using .in instead of collapse('show')

  • collapse('show') is removed such that the page loads with all items collapsed

Assignee
Assign to
Time tracking