[ReactNative] Fix for Navigator.replacePreviousAndPop
This commit is contained in:
parent
34a5aa1d0a
commit
36afc46274
|
@ -1079,8 +1079,7 @@ var Navigator = React.createClass({
|
||||||
// To avoid visual glitches, we never re-render scenes during a transition.
|
// To avoid visual glitches, we never re-render scenes during a transition.
|
||||||
// We assume that `state.updatingRangeLength` will have a length during the
|
// We assume that `state.updatingRangeLength` will have a length during the
|
||||||
// initial render of any scene
|
// initial render of any scene
|
||||||
var shouldRenderScenes = !this.state.isAnimating &&
|
var shouldRenderScenes = this.state.updatingRangeLength !== 0;
|
||||||
this.state.updatingRangeLength !== 0;
|
|
||||||
if (shouldRenderScenes) {
|
if (shouldRenderScenes) {
|
||||||
return (
|
return (
|
||||||
<StaticContainer shouldUpdate={true}>
|
<StaticContainer shouldUpdate={true}>
|
||||||
|
|
Loading…
Reference in New Issue