File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed
CustomComponents/ListView
vendor/react/browser/eventPlugins Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 9
9
10
10
# Ignore react-tools where there are overlaps, but don't ignore anything that
11
11
# react-native relies on
12
- .*/node_modules/react-tools/src/vendor/core/ExecutionEnvironment.js
13
- .*/node_modules/react-tools/src/browser/eventPlugins/ResponderEventPlugin.js
14
- .*/node_modules/react-tools/src/browser/ui/React.js
15
- .*/node_modules/react-tools/src/core/ReactInstanceHandles.js
16
- .*/node_modules/react-tools/src/event/EventPropagators.js
12
+ .*/node_modules/react-tools/src/React.js
13
+ .*/node_modules/react-tools/src/renderers/shared/reconciler/ReactInstanceHandles.js
14
+ .*/node_modules/react-tools/src/renderers/shared/event/EventPropagators.js
15
+ .*/node_modules/react-tools/src/renderers/shared/event/eventPlugins/ResponderEventPlugin.js
16
+ .*/node_modules/react-tools/src/renderers/shared/event/eventPlugins/ResponderSyntheticEvent.js
17
+ .*/node_modules/react-tools/src/renderers/shared/event/eventPlugins/ResponderTouchHistoryStore.js
18
+ .*/node_modules/react-tools/src/shared/vendor/core/ExecutionEnvironment.js
19
+
17
20
18
21
# Ignore commoner tests
19
22
.*/node_modules/commoner/test/.*
Original file line number Diff line number Diff line change @@ -390,6 +390,13 @@ var ListView = React.createClass({
390
390
Object . assign ( props , {
391
391
onScroll : this . _onScroll ,
392
392
stickyHeaderIndices : sectionHeaderIndices ,
393
+
394
+ // Do not pass these events downstream to ScrollView since they will be
395
+ // registered in ListView's own ScrollResponder.Mixin
396
+ onKeyboardWillShow : undefined ,
397
+ onKeyboardWillHide : undefined ,
398
+ onKeyboardDidShow : undefined ,
399
+ onKeyboardDidHide : undefined ,
393
400
} ) ;
394
401
395
402
// TODO(ide): Use function refs so we can compose with the scroll
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ var PanResponder = {
294
294
return false ;
295
295
}
296
296
PanResponder . _updateGestureStateOnMove ( gestureState , touchHistory ) ;
297
- return config . onMoveShouldSetResponderCapture ?
297
+ return config . onMoveShouldSetPanResponderCapture ?
298
298
config . onMoveShouldSetPanResponderCapture ( e , gestureState ) : false ;
299
299
} ,
300
300
You can’t perform that action at this time.
0 commit comments