1
0
Fork 1
mirror of https://example.com synced 2024-11-22 23:06:38 +09:00

fix: Missing first autosize when opening long draft

This commit is contained in:
Lhcfl 2024-01-01 20:31:55 +08:00 committed by naskya
parent e5abb28c7f
commit bdba88ad4c
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -1223,6 +1223,7 @@ onMounted(() => {
quoteId.value = init.renote ? init.renote.id : null;
}
nextTick(() => autosize.update(textareaEl.value));
nextTick(() => watchForDraft());
});
});