mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-23 01:50:13 +08:00
fix(Inputbar): update resizeTextArea call to improve functionality (#8010)
This commit is contained in:
parent
f8c6b5c05f
commit
05f3b88f30
@ -240,7 +240,7 @@ const Inputbar: FC<Props> = ({ assistant: _assistant, setActiveTopic, topic }) =
|
||||
setText('')
|
||||
setFiles([])
|
||||
setTimeout(() => setText(''), 500)
|
||||
setTimeout(() => resizeTextArea(), 0)
|
||||
setTimeout(() => resizeTextArea(true), 0)
|
||||
setExpend(false)
|
||||
} catch (error) {
|
||||
console.error('Failed to send message:', error)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user