The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 18:30 UTC
fix(mobile): Keep a tall question's Submit button above Android's navigation bar (#33929)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Mike Olson committed
Nov 12, 2026 at 16:51 UTC
96aa40ebcd85c198c4b378381c90c9ec9cc06deb
1 file changed
+7
-2
apps/mobile/src/features/threads/ThreadDetailScreen.tsx
+7
-2
@@ -1063,11 +1063,16 @@ function ThreadDetailBody(
1063
windowHeight: screenAreaHeight,
1064
keyboardHeight: keyboardStickyEnabled ? -keyboardTranslation.value : 0,
1065
navigationHeaderHeight,
1066
- composerOverlapHeight: composerBottomInset,
1066
+ // An in-flow question shares the room above it with the floating control.
1067
+ composerOverlapHeight:
1068
+ composerBottomInset +
1069
+ (questionInFlow && showFloatingStatus ? FLOATING_WORKING_CONTROL_COVERAGE : 0),
1070
}),
1071
);
1072
+ // A question pads itself clear of the bottom inset, below the card's own height limit.
1073
+ const questionBottomInset = activeUserInputRequestId !== null ? composerBottomInset : 0;
1074
const composerPanelsHeightStyle = useAnimatedStyle(() => ({
1070
- maxHeight: pendingUserInputMaxHeight.value,
1075
+ maxHeight: pendingUserInputMaxHeight.value + questionBottomInset,
1076
flexGrow: 0,
1077
}));
1078
// Questions overlay the composer on iOS; an approval sits above it, so it gives up its height.