[ReactNative] Fix Navigator exception when touching during transition

This commit is contained in:
Eric Vicenti 2015-04-07 19:24:27 -07:00
parent 6854da9b86
commit d63bf428cd
1 changed files with 1 additions and 1 deletions

View File

@ -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;