tabbarhideonkeyboard problem #10797
Replies: 2 comments 3 replies
-
|
Please read this doc, specifically the yellow box https://reactnative.dev/docs/keyboard#addlistener Quote from the docs -
We don't have any listeners to do some action before the keyboard opens on android so we need to hide after the keyboard is open |
Beta Was this translation helpful? Give feedback.
-
|
You can make tabBar to be positioned absolutely top: (screen height - tabBar height) - then keyboard will simply cover it |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello ALL.
I am trying to hide the bottom tab bar when the keyboard appears.
So I used
{tabbarhideonkeyboard =true }inside tab.input . Its working fine but with a sightly animation in android.When the keyboard appears bottom tab bar pushes up for a while and then hides. It's looking very ugly.
I tried many answers, like changing "adjustresize " to "adjustPan " in side androidMainfest.xml file, and set the Custom keyboard hook for hiding tabbar . But none of those are working.
Anyone can give me the exact solution with
{tabbarhideonkeyboard =true }option .I am using
"@react-navigation/bottom-tabs": "^6.2.0",Beta Was this translation helpful? Give feedback.
All reactions