-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Inconsistent behavior after using collapse('show') on Accordion #21168
Comments
Confirmed in Chrome 55 and Firefox 51.0a2. Issue is reproducible on v4-dev by going to the collapse docs page and running |
After debugging with DevTools, it appears that |
I found the same things as @bardiharborow and I'm not sure if we should add a search of a possible |
The problem is due to unclear documentation. The Doc fixed here: #21726 |
Thanks. Here is the fixed code pen: http://codepen.io/anon/pen/YNGNqv?editors=1010#0 |
http://codepen.io/anon/pen/zoNyvO?editors=1010#0
To reproduce the problem:
Item #2
. It automatically collapsesItem #1
.Item #1
again.Item #2
does not automatically collapse.The above steps can be also reproduced substituting
Item 3
in lieu ofItem 2
to demonstrate the same problem whereItem 3
stays open.The problem does not exhibit when:
using
.in
instead ofcollapse('show')
collapse('show')
is removed such that the page loads with all items collapsedThe text was updated successfully, but these errors were encountered: