authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-07-07 01:58:29-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-07-07 01:58:29-07:00
logf9727d08533cadd02ecee2594c1a1b2fbf74af58
tree63b29efa2e2e3eee86f0a0253f8eb7efca40c9b2
parentd8e0ba3ea02dc70874897655b2551ea72c1c738c
signature Signed by PGP key B5690EEEBB952194

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


1 files changed, 6 insertions(+), 1 deletions(-)

apps/mobile/src/features/projects/AddProjectScreen.tsx+6-1
......@@ -112,7 +112,12 @@ function AddProjectShell(props: { readonly children: ReactNode }) {
112112 const insets = useSafeAreaInsets();
113113
114114 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">
116121 <ScrollView
117122 keyboardShouldPersistTaps="handled"
118123 contentInsetAdjustmentBehavior="automatic"