[ReactNative] Fix Navigator exception when touching during transition
This commit is contained in:
parent
6854da9b86
commit
d63bf428cd
|
@ -596,7 +596,7 @@ var Navigator = React.createClass({
|
||||||
|
|
||||||
_handlePanResponderGrant: function(e, gestureState) {
|
_handlePanResponderGrant: function(e, gestureState) {
|
||||||
invariant(
|
invariant(
|
||||||
this._expectingGestureGrant,
|
this._expectingGestureGrant || this.state.isAnimating,
|
||||||
'Responder granted unexpectedly.'
|
'Responder granted unexpectedly.'
|
||||||
);
|
);
|
||||||
this._activeGestureAction = this._expectingGestureGrant;
|
this._activeGestureAction = this._expectingGestureGrant;
|
||||||
|
|
Loading…
Reference in New Issue