React navigation v2, how to hide material tab navigators on specific screens?

  • 0
  • Pump00:00

Background

I am building a react native app and using react navigation. I have just upgraded form 1 to 2 and am in the process of changing my TabNavigators to MaterialTabNavigators.

What I have tried

I cannot find the place in the documentation that tells you how to hide a Material tab navigator on a specific tab. I have tried using

navigationOptions: {
    tabBarVisible: false
}

But this only works for the regular tab navigators.

Question

How do I hide the tab bar on specific tabs in the MaterialTabBarNavigator?

Default Asked on December 28, 2019 in Programming.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.