Skip to content
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 should accommodate changed isOpen props #74

Open
mnicole opened this issue Apr 8, 2019 · 0 comments
Open

Accordion should accommodate changed isOpen props #74

mnicole opened this issue Apr 8, 2019 · 0 comments
Assignees
Labels
assigned enhancement New feature or request

Comments

@mnicole
Copy link
Collaborator

mnicole commented Apr 8, 2019

If the accordion is locked and props.isOpen initial value changes (not through the actions of a user), then it should update the accordion.

For example, if you want the accordion to be locked to the user's actions, but load some data into it that comes back after the component mounts, and you need to open it when the data gets returned, this is currently not possible.

*Internal note - after this is merged we should update our AM project to use it (see PR for AM-135)

@mnicole mnicole added the enhancement New feature or request label Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants