fix: chat input variable styling issue

This commit is contained in:
Timothy J. Baek 2024-05-02 00:48:07 -07:00
parent 572cd22b4d
commit 52fb09ff95

View File

@ -828,6 +828,9 @@
e.preventDefault();
e.target.setSelectionRange(word?.startIndex, word.endIndex + 1);
}
e.target.style.height = '';
e.target.style.height = Math.min(e.target.scrollHeight, 200) + 'px';
}
}}
rows="1"