how to hide TabBar when keyboard is open in expo react-native

Viewed 6016

Currently, the TabBarBottom is placed above the keyboard for few seconds and after that it goes down. i want to completely hide the TabBar when keyboard is open.

   expo sdk :- 38
    react-navigation": “^4.0.9”,
    “react-navigation-tabs”: “^2.9.0”,
    "Plaform: "Android"
4 Answers
<Tab.Navigator
  screenOptions={{
    "tabBarHideOnKeyboard":"true",
  }}
>

Since tabBarOptions is deprecated you can try tabBarHideOnKeyboard: true in screenOptions

Can you try keyboardHidesTabBar: true in tabBarOptions.

PREBA ESTO

<Tab.Navigator
  initialRouteName="Feed"
  tabBarOptions={{
    activeTintColor: '#e91e63',
    keyboardHidesTabBar: true //<=====
  }}
>
Related