Skip to content

Commit ba99722

Browse files
authored
useNativeDriver
1 parent b3c1bc8 commit ba99722

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/dropdown/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ export default class Dropdown extends PureComponent {
293293
.timing(opacity, {
294294
duration: animationDuration,
295295
toValue: 1,
296+
useNativeDriver: true,
296297
})
297298
.start(() => {
298299
if (this.mounted && 'ios' === Platform.OS) {
@@ -316,6 +317,7 @@ export default class Dropdown extends PureComponent {
316317
.timing(opacity, {
317318
duration: animationDuration,
318319
toValue: 0,
320+
useNativeDriver: true,
319321
})
320322
.start(() => {
321323
this.focused = false;

0 commit comments

Comments
 (0)