Skip to content

Commit 0a13077

Browse files
committed
Fix enimEvt is not a function when useNativeDriver enabled
1 parent d3a90da commit 0a13077

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export default class ModalBox extends React.PureComponent {
363363
return true;
364364
};
365365

366-
const animEvt = Animated.event([null, {customY: position}], {useNativeDriver: this.props.useNativeDriver});
366+
const animEvt = Animated.event([null, {customY: position}], {useNativeDriver: false});
367367

368368
const onPanMove = (evt, state) => {
369369
const newClosingState =

0 commit comments

Comments
 (0)