mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
[ReactNative] fix onMoveShouldSetPanResponderCapture
Summary: Typo in implementation prevented onMoveShouldSetPanResponderCapture from working.
This commit is contained in:
parent
842ce51099
commit
3b83853713
@ -294,7 +294,7 @@ var PanResponder = {
|
||||
return false;
|
||||
}
|
||||
PanResponder._updateGestureStateOnMove(gestureState, touchHistory);
|
||||
return config.onMoveShouldSetResponderCapture ?
|
||||
return config.onMoveShouldSetPanResponderCapture ?
|
||||
config.onMoveShouldSetPanResponderCapture(e, gestureState) : false;
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user