fix(chat): disable autofocus on message editor

Prevents keyboard from popping up automatically on mobile devices.
This commit is contained in:
Claude
2026-01-12 09:41:10 +00:00
parent 09d0b06150
commit a13c324cd6
2 changed files with 1 additions and 2 deletions

View File

@@ -423,7 +423,6 @@ export function ChatViewer({
handleSend(content, replyTo);
}
}}
autoFocus
className="flex-1 min-w-0"
/>
<Button

View File

@@ -47,7 +47,7 @@ export const MentionEditor = forwardRef<
placeholder = "Type a message...",
onSubmit,
searchProfiles,
autoFocus = true,
autoFocus = false,
className = "",
},
ref,