auto-resize the textarea on mount based on its current value

This commit is contained in:
bluemoehre 2026-03-21 02:41:28 +01:00
parent b1c70e2e54
commit e27ecab7d1
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@
onMount(() => {
if (textareaElement) {
autoResizeTextarea(textareaElement);
textareaElement.focus();
}
});