-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area: corerelates to core classes // parts of the libraryrelates to core classes // parts of the librarykind: bugSomething isn't workingSomething isn't workingreleasedThis has been released on stableThis has been released on stable
Description
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?
v9.5.1
What's Wrong?
I just updated to v9.5.1 and a useTranstion hook that I have been using successfully for the last few months is failing in react-native. I also tested in react for the codesandbox and I am seeing the same result.
Basically the components just pile on top of each other instead of transitioning. Seems like a consistent issue is that the first one that renders never leaves.
I have noticed that sometimes it starts working fine eventually, but always after mount it is failing.
Example:
v9.5.0.mov
v9.5.1.mov
To Reproduce
Please see link below - I hacked together a quick poc using the exact same useTransition logic from my project but simplified everything else.
Apologies about the styling and crappy logic, just trying to boil the issue down.
Expected Behaviour
Only one component shows at a time.
Link to repo
Metadata
Metadata
Assignees
Labels
area: corerelates to core classes // parts of the libraryrelates to core classes // parts of the librarykind: bugSomething isn't workingSomething isn't workingreleasedThis has been released on stableThis has been released on stable