From d63bf428cdabce6c4b062457eaf6a58158acc872 Mon Sep 17 00:00:00 2001 From: Eric Vicenti Date: Tue, 7 Apr 2015 19:24:27 -0700 Subject: [PATCH] [ReactNative] Fix Navigator exception when touching during transition --- Libraries/CustomComponents/Navigator/Navigator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/CustomComponents/Navigator/Navigator.js b/Libraries/CustomComponents/Navigator/Navigator.js index 0ad3c4269..fbcf51ec5 100644 --- a/Libraries/CustomComponents/Navigator/Navigator.js +++ b/Libraries/CustomComponents/Navigator/Navigator.js @@ -596,7 +596,7 @@ var Navigator = React.createClass({ _handlePanResponderGrant: function(e, gestureState) { invariant( - this._expectingGestureGrant, + this._expectingGestureGrant || this.state.isAnimating, 'Responder granted unexpectedly.' ); this._activeGestureAction = this._expectingGestureGrant;