From 211fad972aac121ec66ecebb6d344055a255356c Mon Sep 17 00:00:00 2001 From: James Magahern Date: Thu, 23 Jul 2026 20:29:53 -0700 Subject: [PATCH] avoid mobile focus on conversation selection --- web/src/App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 749a302..2240ac2 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -1467,7 +1467,8 @@ export default function App() { if (isActiveSelectionSending) return; const hasWorkspaceSelection = Boolean(selectedItem) || draftKind !== null; if (!hasWorkspaceSelection) return; - if (suppressNextMobileComposerFocusRef.current && isMobileLayout()) { + const mobileLayout = isMobileLayout(); + if (mobileLayout && (Boolean(selectedItem) || suppressNextMobileComposerFocusRef.current)) { suppressNextMobileComposerFocusRef.current = false; return; }