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; }