chore: chat app textarea auto focus (#12366)
This commit is contained in:
parent
1fa66405c5
commit
455b0cd696
@ -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…
Reference in New Issue
Block a user