Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b83853

Browse files
author
Bill Fisher
committed
[ReactNative] fix onMoveShouldSetPanResponderCapture
Summary: Typo in implementation prevented onMoveShouldSetPanResponderCapture from working.
1 parent 842ce51 commit 3b83853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/vendor/react/browser/eventPlugins/PanResponder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ var PanResponder = {
294294
return false;
295295
}
296296
PanResponder._updateGestureStateOnMove(gestureState, touchHistory);
297-
return config.onMoveShouldSetResponderCapture ?
297+
return config.onMoveShouldSetPanResponderCapture ?
298298
config.onMoveShouldSetPanResponderCapture(e, gestureState) : false;
299299
},
300300

0 commit comments

Comments
 (0)