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,
    }}
  >

-7

u/Hotgeart Sep 20 '20

We don't all use react navigation...

12

u/I_know_HTML Sep 20 '20

This code implies react navigation doesn't it? navigation.setOptions right in the code

1

u/JackSparrah Sep 20 '20

Username checks out! :D

1

u/Hotgeart Sep 21 '20

Yes my bad read it too fast