fix onShouldBlockNativeResponder, close #59

This commit is contained in:
silentcloud
2017-05-11 15:18:09 +08:00
parent 851f509403
commit 9dab17d990
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -33,3 +33,4 @@ local.properties
node_modules/
npm-debug.log
yarn.lock
example/ios/ip.txt

View File

@@ -146,7 +146,7 @@ const Swipeout = React.createClass({
onPanResponderMove: this._handlePanResponderMove,
onPanResponderRelease: this._handlePanResponderEnd,
onPanResponderTerminate: this._handlePanResponderEnd,
onShouldBlockNativeResponder: (event, gestureState) => true,
onShouldBlockNativeResponder: (event, gestureState) => false,
});
},