-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Accordion's "at most 1 open item" invariant gets violated after using JS API #18418
Comments
Collapse's |
This PR would be usefull #17823 😄 |
Indeed! I do intend to get around to that PR, I just have a lot of things on my TODO list. |
Haha it's ok good luck for your TODO list 😉 |
Same happens when I call it like this: $("#collapseOne").one('hidden.bs.collapse', function () {
$("#collapseTwo").collapse('show');
});
$("#collapseOne").collapse('hide'); But even if I wait between typing in the two collapse calls. |
Perhaps this is related to #17335. |
This also prompts the question of whether this can be fixed in v3 given that some folks might be relying on the "broken" behavior. |
IMO we should add |
X-ref #21726 |
Hello!
When you try to collapse/expand accordions with JS, reopening the collapsed accordion by clicking causes expanding both accordions.
See http://getbootstrap.com/javascript/#collapse-example-accordion
Originally posted to: patternfly/patternfly#162
The text was updated successfully, but these errors were encountered: