fix: タブバーのアニメーションとキーボード非表示設定を削除

fix: JRSTraInfoコンポーネントの初期データ読み込み処理をuseEffectで追加
This commit is contained in:
harukin-expo-dev-env
2026-04-10 09:36:09 +00:00
parent 36be7801f6
commit 374901c9fa
2 changed files with 4 additions and 2 deletions

View File

@@ -136,8 +136,6 @@ export function AppContainer() {
const defaultInactive = isDark ? "#8e8e93" : "#8e8e93";
return {
lazy: false,
tabBarHideOnKeyboard: Platform.OS === "android",
animation: Platform.OS === "ios" ? "none" : "shift",
sceneContainerStyle: { backgroundColor: defaultBg },
tabBarActiveTintColor: (showGradient || isExtraWindowOpen) ? "white" : defaultActive,
tabBarInactiveTintColor: (showGradient || isExtraWindowOpen) ? "rgba(255,255,255,0.75)" : defaultInactive,

View File

@@ -36,6 +36,10 @@ export const JRSTraInfo = () => {
const maxHeight = useSheetMaxHeight();
const viewShot = useRef(null);
useEffect(() => {
setLoadingDelayData(true);
}, []);
const onCapture = async () => {
const url = await viewShot.current.capture();