mirror of
https://github.com/paricafe/misskey.git
synced 2025-02-17 15:57:29 -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) {
|
function onCompositionEnd(ev: CompositionEvent) {
|
||||||
imeText.value = '';
|
imeText.value = '';
|
||||||
|
|
||||||
nextTick(() => textareaEl.value && autosize.update(textareaEl.value));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function onPaste(ev: ClipboardEvent) {
|
async function onPaste(ev: ClipboardEvent) {
|
||||||
|
@ -643,6 +641,7 @@ async function onPaste(ev: ClipboardEvent) {
|
||||||
upload(file, `${fileName}.txt`);
|
upload(file, `${fileName}.txt`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
nextTick(() => textareaEl.value && autosize.update(textareaEl.value));
|
nextTick(() => textareaEl.value && autosize.update(textareaEl.value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue