r/reactnative • Android • Sep 20 '20

Programmatically Hide Bottom tab when keyboard open.

Post image
198 Upvotes

32 comments sorted by

View all comments

129

u/frankielyonshaha Sep 20 '20

Why not use:

  <BottomTab.Navigator
    tabBarOptions={{
      keyboardHidesTabBar: true,
    }}
  >

1

u/archcorsair Sep 21 '20

I think the example still applies when you implement your own tab bar, where you don't have access to these properties.