From d97d98a524d2b2dd56c718a806eecab0b3270c88 Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Sat, 07 Mar 2026 14:10:48 +0100
Subject: [PATCH] fix: scroll-to-bottom on restart, keyboard avoiding in project picker

---
 components/SessionDrawer.tsx |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/components/SessionDrawer.tsx b/components/SessionDrawer.tsx
index 8557fa0..d7a1998 100644
--- a/components/SessionDrawer.tsx
+++ b/components/SessionDrawer.tsx
@@ -9,7 +9,9 @@
   Animated,
   Dimensions,
   Keyboard,
+  KeyboardAvoidingView,
   LayoutAnimation,
+  Platform,
   Pressable,
   ScrollView,
   StyleSheet,
@@ -471,6 +473,10 @@
             elevation: 20,
           }}
         >
+          <KeyboardAvoidingView
+            style={{ flex: 1 }}
+            behavior={Platform.OS === "ios" ? "padding" : undefined}
+          >
           <GestureHandlerRootView style={{ flex: 1 }}>
             {/* Header */}
             <View
@@ -673,6 +679,7 @@
               </Text>
             </View>
           </GestureHandlerRootView>
+          </KeyboardAvoidingView>
         </Animated.View>
       </View>
     </View>

--
Gitblit v1.3.1