mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-07 13:59:28 +08:00
* fix: textarea not resizing back after clearing long input (#7609) * fix: text area auto size only when not dragged
This commit is contained in:
parent
8f64c5ab6a
commit
218dcc2229
@ -788,6 +788,7 @@ const Inputbar: FC<Props> = ({ assistant: _assistant, setActiveTopic, topic }) =
|
||||
variant="borderless"
|
||||
spellCheck={enableSpellCheck}
|
||||
rows={2}
|
||||
autoSize={textareaHeight ? false : { minRows: 2, maxRows: 20 }}
|
||||
ref={textareaRef}
|
||||
style={{
|
||||
fontSize,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user