diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 705a83678..6133b928a 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -590,8 +590,6 @@ function onCompositionUpdate(ev: CompositionEvent) { function onCompositionEnd(ev: CompositionEvent) { imeText.value = ''; - - nextTick(() => textareaEl.value && autosize.update(textareaEl.value)); } async function onPaste(ev: ClipboardEvent) { @@ -643,6 +641,7 @@ async function onPaste(ev: ClipboardEvent) { upload(file, `${fileName}.txt`); }); } + nextTick(() => textareaEl.value && autosize.update(textareaEl.value)); }