From 6b620d93a96e554dd2f7832e6a2fa23730e3f15d Mon Sep 17 00:00:00 2001
From: "Timothy J. Baek" <timothyjrbeck@gmail.com>
Date: Thu, 24 Oct 2024 03:13:35 -0700
Subject: [PATCH] refac

---
 src/lib/components/common/Textarea.svelte | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/components/common/Textarea.svelte b/src/lib/components/common/Textarea.svelte
index f7c4865d7..66270f1b3 100644
--- a/src/lib/components/common/Textarea.svelte
+++ b/src/lib/components/common/Textarea.svelte
@@ -20,6 +20,10 @@
 		}
 	});
 
+	$: if (value) {
+		setTimeout(adjustHeight, 0);
+	}
+
 	const adjustHeight = () => {
 		if (textareaElement) {
 			textareaElement.style.height = '';