mirror of
https://github.com/status-im/react-native.git
synced 2025-02-27 16:40:38 +00:00
[ReactNative] Navigator block touches on scene when navigating
This commit is contained in:
parent
2a6fe079c0
commit
219a7c1bfd
@ -1290,7 +1290,7 @@ var Navigator = React.createClass({
|
||||
key={this.state.idStack[i]}
|
||||
ref={'scene_' + i}
|
||||
onStartShouldSetResponderCapture={() => {
|
||||
return i !== this.state.presentedIndex;
|
||||
return !!this.state.transitionFromIndex || !!this.state.activeGesture;
|
||||
}}
|
||||
style={[styles.baseScene, this.props.sceneStyle, disabledSceneStyle]}>
|
||||
{React.cloneElement(child, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user