chore: chat app textarea auto focus (#12366)
This commit is contained in:
parent
1fa66405c5
commit
455b0cd696
1 changed files with 1 additions and 0 deletions
|
|
@ -176,6 +176,7 @@ const ChatInputArea = ({
|
||||||
'p-1 w-full leading-6 body-lg-regular text-text-tertiary outline-none',
|
'p-1 w-full leading-6 body-lg-regular text-text-tertiary outline-none',
|
||||||
)}
|
)}
|
||||||
placeholder={t('common.chat.inputPlaceholder') || ''}
|
placeholder={t('common.chat.inputPlaceholder') || ''}
|
||||||
|
autoFocus
|
||||||
autoSize={{ minRows: 1 }}
|
autoSize={{ minRows: 1 }}
|
||||||
onResize={handleTextareaResize}
|
onResize={handleTextareaResize}
|
||||||
value={query}
|
value={query}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue