Replies: 2 comments
-
If you add the key: (item) => item.name, |
Beta Was this translation helpful? Give feedback.
0 replies
-
It does indeed work ! Thanks a lot @joshuaellis !
Which is why it did not occur to me Cheers |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which react-spring target are you using?
@react-spring/web
@react-spring/three
@react-spring/native
@react-spring/konva
@react-spring/zdog
What version of react-spring are you using?
9.4.5
What's Wrong?
Hi, so I don't know if it's a bug or if I am doing something wrong but I cannot get useTransition to work properly if I am animating between two items array and one of them is not null. I have reused the example provide by the react spring website and changed it to fit my use case.
Please let me know if I am doing something wrong.
Many thanks for your amazing library.
Cheers
To Reproduce
Click on the square to trigger the animation.
Click again to trigger the reverse one
The animation will be stuck in a loop
Expected Behaviour
Both animation should complete properly
Link to repo
https://codesandbox.io/s/sleepy-andras-bx4q3w?file=/src/App.tsx
Beta Was this translation helpful? Give feedback.
All reactions