Open yeswanth opened 7 years ago
That's a good question, I'm not quite sure on that one. It looks like it pauses a bit between renders, which makes me wonder if there is a state change that is occurring with NavigationTransitioner
after the animation completes that is causing a rerender.
Haven't had a chance to look into it too much, but anyone else seeing this or know more about it?
Looks like under the debug mode, the transition is bit late and triggering the _renderScene() twice before the first trigger is executed. It is not occurring while debug mode is off.
I placed a console.log in renderScene method in AppContainer.js (and did not modify any of the other code). For every page that is added to the navigation, the method is called twice. Is it a bug? How do I avoid renderScene method to be called second time?
I'm facing similar issue with pure RN NavigationExperimental implementation in my own project.