You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Read the FAQs 👇
Yes 2. Describe the bug
After updating to v11.16.0 or above from v11.14.1 I am not able to import AnimationControls type. Which is the type of useAnimation() I need this to pass this as prop. My react version is v19.0.0
.
.
You can see in this screenshot, I am no longer able to import AnimationControls. 👇
.
.
.
And the type of useAnimation() is inferring AnimationControls 👇
.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
I ran into this one as well. The fix above works but would be annoying to use in 10 15 files i use it in. (I could export from sigle place but would like to go back to original import once this is fixed.)
Guess I m just gonna downgrade.
I have PR that resolved the issue.
But will have to have a conversation with @mattgperry for further step and best practise.
I did verify it's effectiveness.
1. Read the FAQs 👇
Yes
2. Describe the bug
After updating to
v11.16.0
or above fromv11.14.1
I am not able to importAnimationControls
type. Which is the type ofuseAnimation()
I need this to pass this as prop. My react version isv19.0.0
.
.
You can see in this screenshot, I am no longer able to import
AnimationControls
. 👇.
.
.
And the type of
useAnimation()
is inferringAnimationControls
👇.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/p/github/watery-desert/motion-animation-controls-bug/main?import=true
The text was updated successfully, but these errors were encountered: