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

fix(AccordionItem): animate open/close when open prop is specified #7876

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Feb 23, 2021

Closes #7875

This PR adds the AccordionItem's animation hooks to the open prop/state sync so that animations appear when the open prop value is changed

Testing / Reviewing

Toggle the open prop in the playground story and observe that the accordion item opens and closes with animations

@netlify
Copy link

netlify bot commented Feb 23, 2021

Deploy preview for carbon-elements ready!

Built with commit f72318c

https://deploy-preview-7876--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Feb 23, 2021

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit f72318c

https://deploy-preview-7876--carbon-components-react.netlify.app

@kodiakhq kodiakhq bot merged commit 56d12e9 into carbon-design-system:master Feb 25, 2021
@emyarod emyarod deleted the add-controlled-accordion-animations branch February 26, 2021 16:57
@dakahn dakahn mentioned this pull request Mar 4, 2021
@emyarod emyarod mentioned this pull request Mar 8, 2021
60 tasks
@antoinog
Copy link

antoinog commented Nov 5, 2021

This change may have caused this issue:
#9818

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accordion items do not animate when the open prop is provided a value
5 participants