From 8c94c610669e7f15a92b7cda3eb98d3768c40e48 Mon Sep 17 00:00:00 2001 From: StoneCotton <73684839+StoneCotton@users.noreply.github.com> Date: Wed, 5 Aug 2026 11:07:30 -0400 Subject: [PATCH] fix(mobile): pad scroll views above Android nav bar The Choose project and Connections screens set their bottom spacing via the ScrollView contentInset prop, which is iOS-only and a no-op on Android. With edge-to-edge always on, the last row rendered under the 3-button navigation bar and could not be scrolled into view. Move the inset-aware spacing into contentContainerStyle.paddingBottom, matching the pattern already used by AddProjectScreen and the settings screens. Fixes #5414 --- apps/mobile/src/features/connection/ConnectionsRouteScreen.tsx | 2 +- apps/mobile/src/features/threads/NewTaskRouteScreen.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/mobile/src/features/connection/ConnectionsRouteScreen.tsx b/apps/mobile/src/features/connection/ConnectionsRouteScreen.tsx index 45132fd9ced..464477ffc87 100644 --- a/apps/mobile/src/features/connection/ConnectionsRouteScreen.tsx +++ b/apps/mobile/src/features/connection/ConnectionsRouteScreen.tsx @@ -58,8 +58,8 @@ export function ConnectionsRouteScreen() { contentInsetAdjustmentBehavior="automatic" showsVerticalScrollIndicator={false} className="flex-1" - contentInset={{ bottom: Math.max(insets.bottom, 18) + 18 }} contentContainerStyle={{ + paddingBottom: Math.max(insets.bottom, 18) + 18, paddingHorizontal: 20, paddingTop: 16, }} diff --git a/apps/mobile/src/features/threads/NewTaskRouteScreen.tsx b/apps/mobile/src/features/threads/NewTaskRouteScreen.tsx index f5921825928..bc044d905b4 100644 --- a/apps/mobile/src/features/threads/NewTaskRouteScreen.tsx +++ b/apps/mobile/src/features/threads/NewTaskRouteScreen.tsx @@ -235,10 +235,9 @@ export function NewTaskRouteScreen({ route }: StaticScreenProps