diff --git a/web/app/components/base/chat/chat/chat-input-area/index.tsx b/web/app/components/base/chat/chat/chat-input-area/index.tsx index f83ecbf4a1..0d341d1b83 100644 --- a/web/app/components/base/chat/chat/chat-input-area/index.tsx +++ b/web/app/components/base/chat/chat/chat-input-area/index.tsx @@ -176,6 +176,7 @@ const ChatInputArea = ({ 'p-1 w-full leading-6 body-lg-regular text-text-tertiary outline-none', )} placeholder={t('common.chat.inputPlaceholder') || ''} + autoFocus autoSize={{ minRows: 1 }} onResize={handleTextareaResize} value={query}