From 0295037b900915492fbe9935141c69dd77214575 Mon Sep 17 00:00:00 2001 From: Austin Hunt Date: Thu, 2 Apr 2020 10:50:05 -0400 Subject: [PATCH] chore: added required field to Animated.timing options to address warning in react-native@^0.62.0 --- datepicker.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/datepicker.js b/datepicker.js index ac6cacde29..db3a2066f0 100644 --- a/datepicker.js +++ b/datepicker.js @@ -66,7 +66,8 @@ class DatePicker extends Component { this.state.animatedHeight, { toValue: height, - duration: duration + duration: duration, + useNativeDriver: false, } ).start(); } else { @@ -74,7 +75,8 @@ class DatePicker extends Component { this.state.animatedHeight, { toValue: 0, - duration: duration + duration: duration, + useNativeDriver: false, } ).start(() => { this.setState({modalVisible: visible});