diff --git a/packages/react-navigation/src/views/Drawer/DrawerSidebar.js b/packages/react-navigation/src/views/Drawer/DrawerSidebar.js index c27bf9a6..8193109d 100644 --- a/packages/react-navigation/src/views/Drawer/DrawerSidebar.js +++ b/packages/react-navigation/src/views/Drawer/DrawerSidebar.js @@ -62,9 +62,13 @@ class DrawerSidebar extends React.PureComponent { let subAction; // if the child screen is a StackRouter then always navigate to its first screen (see #1914) if (route.index !== undefined && route.index !== 0) { - route = route; - subAction = NavigationActions.navigate({ - routeName: route.routes[0].routeName, + subAction = NavigationActions.reset({ + index: 0, + actions: [ + NavigationActions.navigate({ + routeName: route.routes[0].routeName, + }), + ], }); } this.props.navigation.navigate(route.routeName, undefined, subAction);