Which react-spring target are you using?
What version of react-spring are you using?
9.7.3
What's Wrong?
await controller.start({ ... }) is not being resolved consistently. And the behaviour the consistently dependent on the animated value.
To Reproduce
- Open the codesandbox console
- click add 3 times
- click on the top left element to trigger removal
- click on the top element to trigger removal
- notice that the Finished awaiting never gets printed
- Go to line 74. Comment line 74. Uncomment line 76
- Reload page. Repeat 1-4. Notice that the finished awaiting gets printed
Expected Behaviour
Promise is always resolved immediately after animation completes.
Link to repo
https://codesandbox.io/s/react-spring-reproduce-s7jvwv
Which react-spring target are you using?
@react-spring/web@react-spring/three@react-spring/native@react-spring/konva@react-spring/zdogWhat version of react-spring are you using?
9.7.3
What's Wrong?
await controller.start({ ... })is not being resolved consistently. And the behaviour the consistently dependent on the animated value.To Reproduce
Expected Behaviour
Promise is always resolved immediately after animation completes.
Link to repo
https://codesandbox.io/s/react-spring-reproduce-s7jvwv