I have a stack/drawer navigation in my application. I'd like to be able to have a menu icon in my top header navigation that toggles the Drawer menu open and closed.
The toggle functionality just stops working. I have to click the menu button several times to make the menu toggle open and closed, but when the title is there, it works smoothly.
I'd suggest using DrawerNavigator with custom component property.
We can't predict the usage of React Navigation (or any other navigation library) in the apps you build.
💬 Question
I have a stack/drawer navigation in my application. I'd like to be able to have a menu icon in my top header navigation that toggles the Drawer menu open and closed.
This is my code:
I do not want to have the title next to my header button. What is odd is that when I remove the title field from
And make it just
The toggle functionality just stops working. I have to click the menu button several times to make the menu toggle open and closed, but when the title is there, it works smoothly.
Why would that be the case?
UI Kitten and Eva version