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] Animation only firing one time #1893

Closed
slawton3 opened this issue Jan 11, 2023 · 0 comments
Closed

[BUG] Animation only firing one time #1893

slawton3 opened this issue Jan 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@slawton3
Copy link

slawton3 commented Jan 11, 2023

2. Describe the bug

One of my controlled animations only fires on the first render

3. IMPORTANT: Provide a CodeSandbox reproduction of the bug

https://codesandbox.io/s/react-18-playground-forked-it1hen?file=/src/App.tsx

5. Expected behavior

The middle of the SVG should spin on every hover (every animation call)

Every time I hover over the SVG, I expect that the logo should fire the animation. Currently, the middle only does the spinning animation one time upon render.

@slawton3 slawton3 added the bug Something isn't working label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant