fix(MkPostForm): 絵文字ピッカーを開くと入力ができなくなる問題を修正 (MisskeyIO#299)

This commit is contained in:
まっちゃとーにゅ 2023-12-28 20:33:45 +09:00 committed by GitHub
parent b0d9b6419c
commit d220628510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -857,9 +857,7 @@ function insertMention() {
});
}
async function insertEmoji(ev: MouseEvent) {
textAreaReadOnly.value = true;
function insertEmoji(ev: MouseEvent): void {
os.openEmojiPicker(
(ev.currentTarget ?? ev.target) as HTMLElement,
{ asReactionPicker: false },