expo / ex-navigation

Route-centric navigation for React Native
997 stars 201 forks source link

Toggle TabNavigation visibility based on route #455

Closed 0x6e6562 closed 7 years ago

0x6e6562 commented 7 years ago

What is the idiomatic way of toggling the visibility of the TabNavigation based on the current route?

For some screens that are children of a StackNavigation I would like the tab bar to be invisible, so that I can render an action sheet at the bottom of the screen.

StackNavigation has a property called visible which can be set on a per-route basis. Is there something similar for TabNavigation?

0x6e6562 commented 7 years ago

Having having searched more exhaustively, I found this issue duplicates an already existing issue: #89