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

Collapse: Multiple Targets Accordion only works once, then fails #24810

Closed
sweisgerber-dev opened this issue Nov 17, 2017 · 1 comment
Closed
Labels

Comments

@sweisgerber-dev
Copy link

sweisgerber-dev commented Nov 17, 2017

I created a collapse with multiple targets in an accordion-style setup (set data-parent).
The switching works well, exactly once.
The second group of targets then has the show class removed and never added again (only after page reload

Steps to reproduce

Check the codepen sample below and click the numbered collapse links from 2-3, then click on 1 again.
The second group switches perfectly when clicking 2&3, when clicking on 1 again it fails.

environment

@sweisgerber-dev sweisgerber-dev changed the title Collapse: Multiple Targets Accordion does work once Collapse: Multiple Targets Accordion only works once, then fails Nov 17, 2017
@Johann-S
Copy link
Member

It's a multi accordion 🤔 that's not something we thought when we added that feature so currently it's something unsupported but I'm not against it if someone want to handle that case

MartijnCuppens added a commit to MartijnCuppens/bootstrap that referenced this issue Jan 1, 2018
MartijnCuppens added a commit to MartijnCuppens/bootstrap that referenced this issue Jan 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants