You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On signing-in the default scene of navigation drawer should load just once i.e. componentDidMount() and componentWillMount() should be called just once.
Actual behaviour
On signing-in the default scene of navigation drawer's componentDidMount() and componentWillMount() gets called twice.
Steps to reproduce
I have a scene 'alertsView' which is supposed to be the default scene i.e. if back is pressed from any scene, user should land at scene 'alertsView'.
In order to work around this bug: #2342
I went for wrapping scenes that are children of the Drawer in a Scene 'drawerRoot', so that the Drawer has one direct child Scene and then that child has components and list Scenes.
Version
Tell us which versions you are using:
Expected behaviour
On signing-in the default scene of navigation drawer should load just once i.e. componentDidMount() and componentWillMount() should be called just once.
Actual behaviour
On signing-in the default scene of navigation drawer's componentDidMount() and componentWillMount() gets called twice.
Steps to reproduce
I have a scene 'alertsView' which is supposed to be the default scene i.e. if back is pressed from any scene, user should land at scene 'alertsView'.
In order to work around this bug:
#2342
I went for wrapping scenes that are children of the Drawer in a Scene 'drawerRoot', so that the Drawer has one direct child Scene and then that child has components and list Scenes.
Snippet from my router file:
The text was updated successfully, but these errors were encountered: