@devries-cameron20 / t3code-1 / commits / 2dd91140a9
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(mobile): Android sheets scroll to the end and keep their buttons on screen (#20284)

Co-authored-by: PR Batch Tester <agent@local.test> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

shivam committed Oct 19, 2026 at 01:03 UTC 2dd91140a98a11ca339108770654f37c10c700a7
3 files changed +7 -2
apps/mobile/src/components/ComposerContextSheet.tsx
+1
@@ -185,6 +185,7 @@ export function ComposerContextSheet(props: {
185 return (
186 <Sheet title={terminal?.terminalLabel ?? props.label} onClose={props.onClose}>
187 <ScrollView
188 + nestedScrollEnabled
189 className="flex-1"
190 contentInsetAdjustmentBehavior={Platform.OS === "ios" ? "automatic" : "never"}
191 contentContainerStyle={{
apps/mobile/src/components/ui/Sheet.android.tsx
+5 -2
@@ -18,9 +18,12 @@ export function Sheet(props: SheetProps) {
18 onDismiss={props.onClose}
19 onNativeDismiss={props.onClose}
20 >
21 - <View collapsable={false} className="flex-1 bg-sheet">
21 + {/* Flex children are not bounded by the FormSheet host on Android, so pin to its edges.
22 + Material coordinates drags with the first nested-scrolling view in native order. The Compose
23 + header has one, so the content comes first and column-reverse draws it below. */}
24 + <View collapsable={false} className="absolute inset-0 flex-col-reverse bg-sheet">
25 + <View className="flex-1">{props.children}</View>
26 <AndroidSheetHeader title={props.title} onBack={() => setIsOpen(false)} />
23 - {props.children}
27 </View>
28 </FormSheet>
29 );
apps/mobile/src/features/terminal/TerminalContextSheet.tsx
+1
@@ -58,6 +58,7 @@ export function TerminalContextSheet(props: {
58 return (
59 <Sheet title="Terminal output" onClose={props.onClose}>
60 <ScrollView
61 + nestedScrollEnabled
62 className="flex-1"
63 contentInsetAdjustmentBehavior={Platform.OS === "ios" ? "automatic" : "never"}
64 contentContainerStyle={{ paddingHorizontal: 20, paddingTop: 12, paddingBottom: 20 }}