Timothy J. Baek 6 달 전
부모
커밋
6b620d93a9
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/lib/components/common/Textarea.svelte

+ 4 - 0
src/lib/components/common/Textarea.svelte

@@ -20,6 +20,10 @@
 		}
 	});
 
+	$: if (value) {
+		setTimeout(adjustHeight, 0);
+	}
+
 	const adjustHeight = () => {
 		if (textareaElement) {
 			textareaElement.style.height = '';