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
  • #16360
Closed
Open
Issue created Apr 24, 2015 by Administrator@rootContributor

Open collapse element does not close when calling $.collapse('show') on sibling

Created by: benjarwar

Given a Collapse Accordion, where only one item should be open at a time:

  1. Click to open Item A
  2. Use $.collapse('show') to open Item B, a sibling item in the same accordion
  3. Note that both Items A and B are open

Expected behavior: Only Item B should be open.

To test: Using the Collapse Accordion example. Click the first item, then enter $('#collapseTwo').collapse('show') in your browser console.

Browser: Mac OSX Chrome 42.0.2311.90

Assignee
Assign to
Time tracking