mirror of
https://github.com/zhigang1992/react-native-swipeout.git
synced 2026-01-12 17:42:54 +08:00
fix onShouldBlockNativeResponder, close #59
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -33,3 +33,4 @@ local.properties
|
||||
node_modules/
|
||||
npm-debug.log
|
||||
yarn.lock
|
||||
example/ios/ip.txt
|
||||
|
||||
2
index.js
2
index.js
@@ -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,
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user