From 89d058ddc81fa1e674cdce0ff661364cd10dd721 Mon Sep 17 00:00:00 2001 From: Lhcfl Date: Thu, 4 Jan 2024 11:13:55 +0900 Subject: [PATCH] fix: fixed post form does not shrink when posting --- packages/client/src/components/MkPostForm.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/src/components/MkPostForm.vue b/packages/client/src/components/MkPostForm.vue index c7b99691..754814aa 100644 --- a/packages/client/src/components/MkPostForm.vue +++ b/packages/client/src/components/MkPostForm.vue @@ -1074,6 +1074,7 @@ async function post() { } posting.value = false; postAccount.value = null; + nextTick(() => autosize.update(textareaEl.value)); }); }) .catch((err) => {