fix setTimeout -> nextTick
This commit is contained in:
@@ -857,9 +857,7 @@ async function insertEmoji(ev: MouseEvent) {
|
|||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
textAreaReadOnly.value = false;
|
textAreaReadOnly.value = false;
|
||||||
setTimeout(() => {
|
nextTick(() => focus());
|
||||||
focus();
|
|
||||||
}, 10);
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user