DrawerNavigation vs. TabNavigation


#1

In TabNavigation, you can programatically navigate to a different tab like so:

this.props.navigation.performAction(({ tabs, stacks }) => {
tabs(‘main’).jumpToTab(‘profile’);
stacks(‘home’).push(route);
});

Is there an equivalent operation in DrawerNavigation? I’ve tried using “this.props.navigator.push(Router.getRoute(‘details’)” from the Home page to the Details page in my app, but this doesn’t modify the state of the Drawer. It still shows that Home is selected even though I am now seeing the Details screen.