1
0
Fork 1
mirror of https://example.com synced 2024-11-22 12:46:39 +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 e8fc5ec37e
commit 03807b7815
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());
});
});