gorhom/react-native-animated-tabbar

tabBarHideOnKeyboard not hiding tab bar when keyboard opens

Opened this issue · 1 comments

Bug

Environment info

Library Version
@gorhom/animated-tabbar =2.1.1
react-native 0.65.1
react-native-reanimated ^2.3.0-alpha.3
react-native-gesture-handler ^1.10.3
react-native-svg ^12.1.1

Steps To Reproduce

Not hiding the tab bar when the keyboard opens.

Describe what you expected to happen:

It should hide the tab bar when the keyboard opens and show again when keyboard hides.

Reproducible sample code

----> androidManifest.xml
<activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
        android:launchMode="singleTask"
        android:exported="true"
        android:windowSoftInputMode="adjustResize">
      </activity>
import {createBottomTabNavigator} from '@react-navigation/bottom-tabs';
const Tab = createBottomTabNavigator();
<Tab.Navigator
      initialRouteName={BottomTabs.Remotes}
      screenOptions={() => ({
        headerShown: false,
        tabBarHideOnKeyboard: true,
      })}
      tabBar={props => <FooterTab {...props} theme={theme} />}>
      <Tab.Screen
        name={'Scenes'}
        options={{title: 'Scenes'}}
        component={ScenesNavigation}
      />
    </Tab.Navigator>

any update on this ?