@devries-cameron20 / t3code Mirror · read-only / commits / f9727d0853
Fork 0

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 24, 21:30 UTC

Prevent Add Project sheet from collapsing on relayout (#3759)

Julius Marminge committed Jul 7, 2026 at 01:58 UTC f9727d08533cadd02ecee2594c1a1b2fbf74af58
1 file changed +6 -1
apps/mobile/src/features/projects/AddProjectScreen.tsx
+6 -1
@@ -112,7 +112,12 @@ function AddProjectShell(props: { readonly children: ReactNode }) {
112 const insets = useSafeAreaInsets();
113
114 return (
115 - <View className="flex-1 bg-sheet">
115 + // collapsable={false} is load-bearing: if this wrapper is flattened, the
116 + // ScrollView lands directly under RNSSafeAreaView and RNS's formSheet
117 + // scroll-view frame correction mistakes this full-height wrapper for a
118 + // "header" sibling, coercing the ScrollView to zero height (blank sheet
119 + // as soon as the sheet re-lays-out, e.g. when the keyboard opens).
120 + <View collapsable={false} className="flex-1 bg-sheet">
121 <ScrollView
122 keyboardShouldPersistTaps="handled"
123 contentInsetAdjustmentBehavior="automatic"