This commit is contained in:
Cledwyn Lew
2025-11-27 18:44:14 +08:00
parent 54f9dc947d
commit 8f084dc75d
4 changed files with 24 additions and 12 deletions

View File

@@ -22,7 +22,6 @@ export const MessageEditArea = ({
const t = textareaRef.current;
if (t) {
const parent = t.parentElement;
console.log(parent);
t.style.height = 'auto';
t.style.height = t.scrollHeight + 'px';