fix setTimeout -> nextTick

This commit is contained in:
samunohito 2023-12-11 07:41:08 +09:00
parent 4481f6a338
commit bcc2bdd8a2
1 changed files with 1 additions and 3 deletions

View File

@ -857,9 +857,7 @@ async function insertEmoji(ev: MouseEvent) {
}, },
() => { () => {
textAreaReadOnly.value = false; textAreaReadOnly.value = false;
setTimeout(() => { nextTick(() => focus());
focus();
}, 10);
}, },
); );
} }