diff --git a/components/Chat/ChatInput.tsx b/components/Chat/ChatInput.tsx index 7993fef..2a5d999 100644 --- a/components/Chat/ChatInput.tsx +++ b/components/Chat/ChatInput.tsx @@ -39,7 +39,7 @@ export const ChatInput: FC = ({ onSend, messageIsStreaming, model }) => { onSend({ role: "user", content }); setContent(""); - if (textareaRef && textareaRef.current) { + if (window.innerWidth < 640 && textareaRef && textareaRef.current) { textareaRef.current.blur(); } };