Closed zero-is-one closed 3 years ago
Describe the bug useAnimateKeyFrames animation runs when component is updated via other useState variables.
To Reproduce Steps to reproduce the behavior:
Expected behavior The animation should not start. For instance I did this with useAnimate hook without issue. https://codesandbox.io/s/useanimate-iuui5?from-embed=&file=/src/index.js
Wow, thanks so much! Great job and so fast. Enjoying the library.
Describe the bug useAnimateKeyFrames animation runs when component is updated via other useState variables.
To Reproduce Steps to reproduce the behavior:
Expected behavior The animation should not start. For instance I did this with useAnimate hook without issue. https://codesandbox.io/s/useanimate-iuui5?from-embed=&file=/src/index.js