From 76c49dc2c55547b106549accec9e5a5a64a8d220 Mon Sep 17 00:00:00 2001 From: Luiz Fernando Date: Fri, 9 Jul 2021 16:02:47 -0300 Subject: [PATCH] Added useNativeDriver flag to Animated.timing as required to lat React Native version --- src/EllipsisLoading.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/EllipsisLoading.js b/src/EllipsisLoading.js index df6174f..0366dcf 100644 --- a/src/EllipsisLoading.js +++ b/src/EllipsisLoading.js @@ -62,6 +62,7 @@ const animateDots = (whichDot, animateDotsParam, animationState, props) => { Animated.timing(animationState.dotOpacities[whicDotTmp], { toValue: animationState.targetOpacity, + useNativeDriver : true, duration: animationDelay, }).start(() => animateDotsParam(nextDot, animateDotsParam, animationState, props),