[ReactNative] Navigator block touches on scene when navigating

This commit is contained in:
Eric Vicenti 2015-06-01 16:29:52 -07:00
parent 2a6fe079c0
commit 219a7c1bfd

View File

@ -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, {