diff --git a/packages/bottom-tabs/src/utils/createTabNavigator.js b/packages/bottom-tabs/src/utils/createTabNavigator.js index 66f08bb6f2..107e6d5c53 100644 --- a/packages/bottom-tabs/src/utils/createTabNavigator.js +++ b/packages/bottom-tabs/src/utils/createTabNavigator.js @@ -6,6 +6,7 @@ import { StackActions, createNavigator, createNavigationContainer, + NavigationActions, } from 'react-navigation'; import SceneView from 'react-navigation/src/views/SceneView'; @@ -95,7 +96,9 @@ export default function createTabNavigator(TabView: React.ComponentType<*>) { _handleIndexChange = index => { const { navigation } = this.props; - navigation.navigate(navigation.state.routes[index].routeName); + navigation.dispatch(NavigationActions.navigate({ + routeName: navigation.state.routes[index].routeName, + })); }; render() {