Androidでキーボード表示時にタブが消えなかった問題を修正

This commit is contained in:
harukin-expo-dev-env 2025-03-22 10:56:39 +00:00
parent 842b724103
commit 1ff2f234e8

View File

@ -32,11 +32,11 @@ export function AppContainer() {
return ( return (
<NavigationContainer ref={navigationRef}> <NavigationContainer ref={navigationRef}>
<Tab.Navigator <Tab.Navigator
tabBarOptions={{ keyboardHidesTabBar: Platform.OS === "android" }}
initialRouteName="topMenu" initialRouteName="topMenu"
screenOptions={{ screenOptions={{
lazy: false, lazy: false,
animation: "shift", animation: "shift",
tabBarHideOnKeyboard: true,
}} }}
detachInactiveScreens={false} detachInactiveScreens={false}
lazy={false} lazy={false}