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

Bug with amimations for several components by key property change #208

Closed
Karine91 opened this issue Jul 3, 2024 · 1 comment
Closed

Comments

@Karine91
Copy link

Karine91 commented Jul 3, 2024

System info

codepen system

Reproduction

https://codepen.io/karinehiulumian/pen/BaeXeJY?editors=1011

Describe the bug

I'm trying to make animation on several components when the content of them changed - for this purpose I set the key property to make them mount again (for animation to happen), but the animation behaves strangely, in provided example the first two elements are invisible - so basically it shows initial state for them (opacity: 0) and enter state never happens, the third element works as expected.

Additional context

No response

Logs

No response

@Karine91
Copy link
Author

Karine91 commented Jul 3, 2024

Maybe I shouldn't use the same key)

@Karine91 Karine91 closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant