Skip to content

Commit 465fa76

Browse files
authored
Fix #1133 - FeatureHighlight component doesn't use useNativeDriver (#1136)
1 parent a75f30c commit 465fa76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/featureHighlight/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ class FeatureHighlight extends BaseComponent {
173173
this.state.fadeAnim, // The animated value to drive
174174
{
175175
toValue, // Animate to value
176-
duration: toValue ? 100 : 0 // Make it take a while
176+
duration: toValue ? 100 : 0, // Make it take a while
177+
useNativeDriver: true
177178
},).start(); // Starts the animation
178179
}
179180

0 commit comments

Comments
 (0)