Which react-spring target are you using?
What version of react-spring are you using?
9.7.3 amd 10.0.0-alpha.1
What's Wrong?
When I have an array for the to-prop in order to chain animations and then set immediate to true, the animation runs normally and does not jump to the goal value.
To Reproduce
- use
useSpring with an array for the to-prop
- set
immediate: true
Expected Behaviour
The animation chain should jump right to the end of the last step without animating anything
Link to repo
https://codesandbox.io/s/clever-visvesvaraya-w5f9lg?file=/src/App.js
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 amd 10.0.0-alpha.1
What's Wrong?
When I have an array for the
to-prop in order to chain animations and then setimmediateto true, the animation runs normally and does not jump to the goal value.To Reproduce
useSpringwith an array for theto-propimmediate: trueExpected Behaviour
The animation chain should jump right to the end of the last step without animating anything
Link to repo
https://codesandbox.io/s/clever-visvesvaraya-w5f9lg?file=/src/App.js