From 009f8ebe63c46b0aeddeeb3283a44af459c80b19 Mon Sep 17 00:00:00 2001 From: Eric Vicenti Date: Tue, 7 Apr 2015 20:39:55 -0700 Subject: [PATCH] [ReactNative] Fix typo/bug in Navigator._completeTransition --- 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 fbcf51ec5..e38cbc1b9 100644 --- a/Libraries/CustomComponents/Navigator/Navigator.js +++ b/Libraries/CustomComponents/Navigator/Navigator.js @@ -510,7 +510,7 @@ var Navigator = React.createClass({ this.state.fromIndex = this.state.presentedIndex; this.state.toIndex = this.state.presentedIndex; } - this._hideOtherScenes(presentedIndex); + this._hideOtherScenes(this.state.presentedIndex); }, _transitionToToIndexWithVelocity: function(v) {