From 36afc46274157a35bdfa8997e40b20b02ead4cf9 Mon Sep 17 00:00:00 2001 From: Eric Vicenti Date: Thu, 23 Apr 2015 14:16:10 -0700 Subject: [PATCH] [ReactNative] Fix for Navigator.replacePreviousAndPop --- Libraries/CustomComponents/Navigator/Navigator.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Libraries/CustomComponents/Navigator/Navigator.js b/Libraries/CustomComponents/Navigator/Navigator.js index ea8977ff8..da4d2ab10 100644 --- a/Libraries/CustomComponents/Navigator/Navigator.js +++ b/Libraries/CustomComponents/Navigator/Navigator.js @@ -1079,8 +1079,7 @@ var Navigator = React.createClass({ // To avoid visual glitches, we never re-render scenes during a transition. // We assume that `state.updatingRangeLength` will have a length during the // initial render of any scene - var shouldRenderScenes = !this.state.isAnimating && - this.state.updatingRangeLength !== 0; + var shouldRenderScenes = this.state.updatingRangeLength !== 0; if (shouldRenderScenes) { return (