You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Operating system and version Linux (Manjaro, Arch-Based
Chrome Version 62.0.3202.94 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered:
sweisgerber-dev
changed the title
Collapse: Multiple Targets Accordion does work once
Collapse: Multiple Targets Accordion only works once, then fails
Nov 17, 2017
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
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 reloadSteps 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
The text was updated successfully, but these errors were encountered: