Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple accordions collapse each other #21074

Closed
dmbaughman opened this issue Nov 2, 2016 · 5 comments
Closed

Multiple accordions collapse each other #21074

dmbaughman opened this issue Nov 2, 2016 · 5 comments

Comments

@dmbaughman
Copy link

dmbaughman commented Nov 2, 2016

When multiple accordion-type collapse groups are on a page, expanding a new item in one group collapses the open item in the other accordion.

The example below shows two collapse groups with unique IDs on the parents and unique IDs on each section. Clicking on a collapsed section on either group will close the open section on the opposite group.

http://codepen.io/dmbaughman/pen/xRKrwN

Version, OS, Browser details:

  • Bootstrap v4.0.0-alpha.5 (via maxcdn.bootstrapcdn.com)
  • MacOS Sierra 10.12.1
  • Replicated behavior on:
    • Chrome 54.0.2840.71
    • Firefox 48.0.2
    • Safari 10.0.1
@bkdotcom
Copy link
Contributor

bkdotcom commented Nov 2, 2016

you reuse the ids headingOne, headingTwo, & headingThree

@dmbaughman
Copy link
Author

@bkdotcom Thanks for catching that, I fixed those duplicates. The bug still persists as described.

@Johann-S
Copy link
Member

Johann-S commented Nov 2, 2016

Will be fixe in the next release, see : #18847

@dmbaughman
Copy link
Author

@Johann-S thanks, I figured this had already been discovered but couldn't find the existing issue.

@Johann-S
Copy link
Member

Johann-S commented Nov 2, 2016

You're welcome @dmbaughman 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants