diff --git a/index.js b/index.js index 833d6ba..e84ecfe 100644 --- a/index.js +++ b/index.js @@ -170,7 +170,8 @@ class TabBar extends Component { }), Animated.timing(this.animatedImageValues[index], { toValue: 1, - duration: 800 + duration: 800, + useNativeDriver: true }) ]).start(); }; @@ -197,7 +198,8 @@ class TabBar extends Component { Animated.timing(this.animatedImageValues[index], { toValue: 0, duration: 400, - delay: 350 + delay: 350, + useNativeDriver: false }) ]).start(); };