Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(mobile): server save button clipped by keyboard (#3010)

Braden Wagner62bb2a7dbf71
diff --git a/apps/mobile/app/server-address.tsx b/apps/mobile/app/server-address.tsx
index 6ecef366..c7b05089 100644
--- a/apps/mobile/app/server-address.tsx
+++ b/apps/mobile/app/server-address.tsx
@@ -89,9 +89,16 @@ export default function ServerAddress() {
return (
<KeyboardAwareScrollView
- contentContainerClassName="items-center gap-4 px-4 py-4"
+ contentContainerStyle={{
+ alignItems: "center",
+ gap: 16,
+ paddingHorizontal: 16,
+ paddingTop: 16,
+ paddingBottom: 96,
+ }}
bottomOffset={20}
keyboardShouldPersistTaps="handled"
+ keyboardDismissMode="interactive"
contentInsetAdjustmentBehavior="automatic"
>
{/* Error Message */}
@@ -131,15 +138,15 @@ export default function ServerAddress() {
</View>
{/* Custom Headers Section */}
- <View className="w-full">
- <Text className="mb-2 px-1 text-sm font-medium text-muted-foreground">
+ <View className="w-full items-center">
+ <Text className="mb-2 px-1 text-center text-sm font-medium text-muted-foreground">
Custom Headers
{headers.length > 0 && (
<Text className="text-muted-foreground"> ({headers.length})</Text>
)}
</Text>
<View className="w-full gap-3 rounded-lg bg-card px-4 py-4">
- <Text className="text-sm text-muted-foreground">
+ <Text className="text-center text-sm text-muted-foreground">
Add custom HTTP headers for API requests
</Text>