We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using spring animation with delay the delay is not registered at all. Here is how to use delay
delay
Animated.spring( this.state.rotaneAnimation, {toValue: 360, delay: 500}, ).start();
But for example with timing is works:
timing
Animated.timing( this.state.rotaneAnimation, {toValue: 360, delay: 500}, ).start();
I think the solution lies here: https://github.com/facebook/react-native/blob/master/Libraries/Animated/src/AnimatedImplementation.js#L447 because it looks like the spring does not take delay as parameter
The text was updated successfully, but these errors were encountered:
Indeed spring does not support this, you can use Animated.delay if you like, it is more composable than an option.
Animated.delay
Sorry, something went wrong.
No branches or pull requests
Description
When using spring animation with
delay
the delay is not registered at all. Here is how to use delayBut for example with
timing
is works:Solution
I think the solution lies here: https://github.com/facebook/react-native/blob/master/Libraries/Animated/src/AnimatedImplementation.js#L447 because it looks like the spring does not take
delay
as parameterAdditional Information
The text was updated successfully, but these errors were encountered: