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

useAnimations shows two icons #68

Open
chenmoonmo opened this issue Aug 25, 2022 · 1 comment
Open

useAnimations shows two icons #68

chenmoonmo opened this issue Aug 25, 2022 · 1 comment

Comments

@chenmoonmo
Copy link

when i use useAnimations to render icon, it can not change when i use reverse, and then i set padding for wrapperStyle, and there are two different state icon showed.
you can check it at: https://codesandbox.io/embed/damp-butterfly-4onbfp?fontsize=14&hidenavigation=1&theme=dark

@CesarBenavides777
Copy link

CesarBenavides777 commented Sep 24, 2022

@chenmoonmo this is caused by the <StrictMode> component I think. Here it is fixed:
https://codesandbox.io/s/loving-fog-5rofxw?file=/src/index.js

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

2 participants