torgeadelin/react-native-animated-nav-tab-bar

keyboardHidesTabBar doesn't work

ranuwp opened this issue · 7 comments

Whenever the keyboard appears, the tab bar will still there and hides the input for keyboard

Does this happen on ios or android?
If it is an actual issue, it's most likely due to react-navigation.

Hey, it happens on android, not ios. Tried passing in keyboardHidesTabBar: true into tabBarOptions but it doesn't work. Is there a fix for this?

@torgeadelin

I can confirm the issue. When I use "@react-navigation/bottom-tabs" the tabbar is hidden.
When using this framework it looks like this
bottomBar

So I was able to come up with a very buggy fix. https://github.com/benjamin-daniel/react-native-animated-nav-tab-bar/tree/bug/keyboardHidesOnTab will still take a look at it. I heavily copied https://github.com/react-navigation/react-navigation/tree/main/packages/native. Check it out if you are free! @m-ruhl @torgeadelin

@papidb Why cant you create a PR for this? Can I do it?

Yeah, you can. I don't mind, but like I said it is very rough, you can try to tidy it up. Thanks.