diff --git a/app/components/chat.tsx b/app/components/chat.tsx index bae9c5ba2..4173fc3ac 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -616,7 +616,7 @@ export function Chat() { const location = useLocation(); const isChat = location.pathname === Path.Chat; - const autoFocus = isChat; // only focus in chat page + const autoFocus = !isMobileScreen || isChat; // only focus in chat page return (