mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 20:44:10 +00:00
[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.
|
||||
// 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 (
|
||||
<StaticContainer shouldUpdate={true}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user