r/reactnative • Android • Sep 20 '20

Programmatically Hide Bottom tab when keyboard open.

Post image
198 Upvotes

32 comments sorted by

View all comments

4

u/andordavoti Sep 20 '20

nice, I've done something similar in the past, but I added an if check to only do this for android, since the iOS keyboard acts as an overlay and doesn't push the tabbar up

4

u/Veranova Sep 20 '20

You can change that behaviour in the android manifest, there are a few behaviours available.

I haven’t done it in a while but I think it’s this: https://developer.android.com/training/keyboard-input/visibility

3

u/andordavoti Sep 20 '20

yeah I know, but that isn't available for expo users:))

3

u/Veranova Sep 20 '20

Oh that makes sense!