react-native-animated-linear-gradient
react-native-animated-linear-gradient copied to clipboard
Disable "isInteraction" on Animated.timing
While isInteraction is enabled won't get callbacks InteractionManager.runAfterInteractions. This can be really hard to debug by the way.
Animated.parallel(
[color0, color1].map(animatedColor => {
return Animated.timing(animatedColor, {
toValue: customColors.length,
duration: customColors.length * speed,
easing: Easing.linear,
isInteraction: false,
})
})
)
.start(this.startAnimation);
How about add isInteraction (and other Animated params) to component props?