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"
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"
Share
Improve this question
asked Aug 10, 2020 at 14:00
Binit Chandra JhaBinit Chandra Jha
891 gold badge2 silver badges6 bronze badges
4 Answers
Reset to default 12<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 //<=====
}}
>