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 = '';