Is it possible to open Drawer by clicking a button when navbar is hidden (e.g from custom navbar)?
Swiping from edge screen seems to work fine but not by clicking a custom hamburger button on top of custom navbar.
<Button
title="Open Drawer"
onPress={() => this.props.navigator.toggleDrawer({
side: 'left',
animated: true
})}
/>
What happens if I want tu use:
<NavigationBar.DrawerButton onPress={this.() => {
this.props.navigator.toggleDrawer({
screen: 'com.vivi.DrawerMenuScreen',
animated: true,
side: 'left',
backButtonHidden: false
})} />
??? doesn't work, what can I do?
@anhtuank7c but why when I call the 'toggleDrawer' from "setOnNavigatorEvent" there is no effect?