mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-09 23:16:50 +02:00
fix(chat): disable autofocus on message editor
Prevents keyboard from popping up automatically on mobile devices.
This commit is contained in:
@@ -423,7 +423,6 @@ export function ChatViewer({
|
||||
handleSend(content, replyTo);
|
||||
}
|
||||
}}
|
||||
autoFocus
|
||||
className="flex-1 min-w-0"
|
||||
/>
|
||||
<Button
|
||||
|
||||
@@ -47,7 +47,7 @@ export const MentionEditor = forwardRef<
|
||||
placeholder = "Type a message...",
|
||||
onSubmit,
|
||||
searchProfiles,
|
||||
autoFocus = true,
|
||||
autoFocus = false,
|
||||
className = "",
|
||||
},
|
||||
ref,
|
||||
|
||||
Reference in New Issue
Block a user