-
Notifications
You must be signed in to change notification settings - Fork 200
hack to hide navbar #285
base: master
Are you sure you want to change the base?
hack to hide navbar #285
Conversation
can't u do something like this: static route = {
navigationBar: {
visible: false,
},
} |
@sibelius I need to show and hide the navigator in the same scene. The method you mentioned is dynamic isn't it? |
it is not dynamic, I think it makes sense to have a |
I think the best solution for your use case right now, is to have navigationBar: { visible: false } and render a navigationBar inside the render of your own component so u can have more control of when to render it or not like this: render() {
const navBar = this.state.navBarVisible ? this._renderNavBar() : null;
return (
<View>
{navBar}
{this._renderContent()}
</View>
)
} |
interesting! i'd be open to making the |
@sibelius regarding your workaround ( |
I made another NavigationBar based on ex-navigation NavigationBar that only require Title, left and right button |
I don't suppose you have that around somewhere that I could look at? I'm ending up stripping pretty much everything and recreating it completely. |
update to expo/ex-navigation
No description provided.