mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 12:56:43 -06:00
fix autosize
This commit is contained in:
parent
b1d27704d8
commit
61c31bfd66
1 changed files with 1 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue