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

Changing state causes rerender that breaks animations #191

Open
cdfa opened this issue Aug 4, 2019 · 0 comments
Open

Changing state causes rerender that breaks animations #191

cdfa opened this issue Aug 4, 2019 · 0 comments

Comments

@cdfa
Copy link

cdfa commented Aug 4, 2019

Hi, I am trying to use the <Toggle> container to control the animation of a component, but the animations snaps between start and end instead of actually animating. This seems to be due to the children of the <Toggle> being completely re-rendered, instead of receiving new prop values.

I think styleguidist had a similar issue: styleguidist/react-styleguidist#51

If you want I can provide a reproduction repo, but the setup is a little complicated.

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

No branches or pull requests

1 participant