This commit is contained in:
Timothy J. Baek
2024-10-24 03:10:17 -07:00
parent 587dab23f0
commit c5d974606f

View File

@@ -15,6 +15,7 @@
onMount(async () => {
await tick();
if (textareaElement) {
await tick();
setTimeout(adjustHeight, 0);
}
});
@@ -32,6 +33,7 @@
bind:value
{placeholder}
on:input={adjustHeight}
on:focus={adjustHeight}
class={className}
{rows}
{required}