Collapse multiple toggles opening/closing items indivually instead of together #41627
Unanswered
anishmistry10
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Any idea how I can get the "toggle both elements" button to work as a open/close all button
At the moment in the example, if the first element is opened, pressing "toggle both elements" will close that and open the second.
I want it so that so that if the button is pressed, then they either all open, or all close on the press of "toggle both elements"
Reduced test cases
see https://getbootstrap.com/docs/5.3/components/collapse/#multiple-toggles-and-targets
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3.5
Beta Was this translation helpful? Give feedback.
All reactions