-
Notifications
You must be signed in to change notification settings - Fork 80
Accordion's selection mode can become stale #5143
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
Labels
4 - verified
Issues that have been tested, confirmed as mitigated, and are ready to close.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
Milestone
Comments
anveshmekala
added a commit
that referenced
this issue
Jan 30, 2023
**Related Issue:** #5143 ## Summary This PR will allow user to switch `selection-mode` and the items expand accordingly.
Installed and assigned for verification. |
Verified in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
4 - verified
Issues that have been tested, confirmed as mitigated, and are ready to close.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
Actual Behavior
Given a
<calcite-accordion selection-mode="single">
, then dynamically changing itsselection-mode
tomulti
, the user is unable to expand multiple sections.Expected Behavior
Given a
<calcite-accordion selection-mode="single">
, then dynamically changing itsselection-mode
tomulti
, the user is able to expand multiple sections.Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/JjLaVNB
Reproduction Steps
"single"
selection mode."multi"
selection mode.Reproduction Version
beta.91
Relevant Info
Toggling the selection-mode is convenient for re-purposing the accordion for different states. Specifically, Field Maps could use an accordion to show different groups of layers one-at-a-time. But, when the user enters some text to filter by, we want to expand all the sections and show the matching layers.
Regression?
No response
The text was updated successfully, but these errors were encountered: