diff --git a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx index 9d3da9646..af18b7fe2 100644 --- a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx +++ b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx @@ -788,6 +788,7 @@ const Inputbar: FC = ({ assistant: _assistant, setActiveTopic, topic }) = variant="borderless" spellCheck={enableSpellCheck} rows={2} + autoSize={textareaHeight ? false : { minRows: 2, maxRows: 20 }} ref={textareaRef} style={{ fontSize,