Closed
Description
Version
v3 is SLOW for Android right now (because React Native ExperimentalNavigation is slow), see #355, no need to create new issue!
Tell us which versions you are using (react native 0.22 is required for v3!):
- react-native-router-flux v3.22.22
- react-native v0.24.1 (react 0.14.8)
- redux 3.5.2
Expected behaviour
Calling Actions.someAction({ type: 'replace' })
(or reset
) should change the current route/component to someAction
.
Actual behaviour
The route changes but does not cause the view to re-render, leaving part of the UI from the previous route visible.
It appears that the menu changes but the underlying component does not re-render for some reason.
I have attempted to call this action in my container component, an action and a Scene
's onLeft
/onRight
all with the same effects. Navigation seems to work otherwise if I use the default push
type.
Steps to reproduce
- Create two routes (
myFirstRoute
,mySecondRoute
) - Navigate to
mySecondRoute
route frommyFirstRoute
, have an action that callsActions.myFirstRoute({ type: 'reset' })
- The route changes but part of the
mySecondRoute
still displays on the screen
Metadata
Metadata
Assignees
Labels
No labels