From 6c103ac7f343d4232f7fd7097fcfc205cbe9c2f3 Mon Sep 17 00:00:00 2001 From: Den <2119348+dzianisv@users.noreply.github.com> Date: Fri, 24 Jul 2026 00:40:10 -0700 Subject: [PATCH] fix(ui): keep toolbar visible above keyboard (closes #147) (#148) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The session/chat screen's KeyboardAvoidingView used behavior={undefined} on Android, relying entirely on the native android:windowSoftInputMode adjustResize (set in AndroidManifest.xml) to shrink the window and push the agent/model toolbar + composer above the keyboard. Since the app adopted Expo's mandatory edge-to-edge display, Android no longer resizes the window when the keyboard opens (the system assumes insets are handled dynamically), so adjustResize became a no-op — leaving the toolbar and input completely hidden behind the keyboard. Switch to behavior="padding" on both platforms so KeyboardAvoidingView pushes the composer up using its own JS-measured keyboard height, independent of native window resize. Co-authored-by: test Co-authored-by: Claude Fable 5 --- app/session/[id].tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/app/session/[id].tsx b/app/session/[id].tsx index a538595..97f885f 100644 --- a/app/session/[id].tsx +++ b/app/session/[id].tsx @@ -593,7 +593,19 @@ export default function SessionScreen() {