From 281834df3070cfbdfc28314ab2a2e84d321ca5df Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Sat, 07 Mar 2026 14:06:30 +0100
Subject: [PATCH] fix: project picker scroll, reconnect scroll, keyboard dismiss

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

diff --git a/components/SessionDrawer.tsx b/components/SessionDrawer.tsx
index 4efb87c..8557fa0 100644
--- a/components/SessionDrawer.tsx
+++ b/components/SessionDrawer.tsx
@@ -11,6 +11,7 @@
   Keyboard,
   LayoutAnimation,
   Pressable,
+  ScrollView,
   StyleSheet,
   Text,
   TextInput,
@@ -556,12 +557,15 @@
               </View>
 
               {showProjectPicker && (
-                <View style={{
-                  marginHorizontal: 12,
-                  borderRadius: 12,
-                  backgroundColor: colors.bgTertiary,
-                  overflow: "hidden",
-                }}>
+                <ScrollView
+                  style={{
+                    marginHorizontal: 12,
+                    borderRadius: 12,
+                    backgroundColor: colors.bgTertiary,
+                    maxHeight: 300,
+                  }}
+                  keyboardShouldPersistTaps="handled"
+                >
                   {/* Home directory — always first */}
                   <Pressable
                     onPress={() => launchSession({ path: "~" })}
@@ -645,7 +649,7 @@
                       </Pressable>
                     )}
                   </View>
-                </View>
+                </ScrollView>
               )}
             </View>
 

--
Gitblit v1.3.1