Skip to content
This repository was archived by the owner on Oct 10, 2026. It is now read-only.

Commit 33a03c8

Browse files
authored
fix(mobile): pad scroll views above Android nav bar (pingdotgg#5415)
1 parent a17459e commit 33a03c8

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎apps/mobile/src/features/connection/ConnectionsRouteScreen.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export function ConnectionsRouteScreen() {
5858
contentInsetAdjustmentBehavior="automatic"
5959
showsVerticalScrollIndicator={false}
6060
className="flex-1"
61-
contentInset={{ bottom: Math.max(insets.bottom, 18) + 18 }}
6261
contentContainerStyle={{
62+
paddingBottom: Math.max(insets.bottom, 18) + 18,
6363
paddingHorizontal: 20,
6464
paddingTop: 16,
6565
}}

‎apps/mobile/src/features/threads/NewTaskRouteScreen.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,9 @@ export function NewTaskRouteScreen({ route }: StaticScreenProps<NewTaskRoutePara
235235
contentInsetAdjustmentBehavior="automatic"
236236
showsVerticalScrollIndicator={false}
237237
className="flex-1"
238-
contentInset={{ bottom: Math.max(insets.bottom, 18) + 18 }}
239238
contentContainerStyle={{
240239
gap: 12,
241-
paddingBottom: 8,
240+
paddingBottom: Math.max(insets.bottom, 18) + 18,
242241
paddingHorizontal: 20,
243242
paddingTop: 8,
244243
}}

0 commit comments

Comments
 (0)