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) { function insertEmoji(ev: MouseEvent): void {
textAreaReadOnly.value = true;
os.openEmojiPicker( os.openEmojiPicker(
(ev.currentTarget ?? ev.target) as HTMLElement, (ev.currentTarget ?? ev.target) as HTMLElement,
{ asReactionPicker: false }, { asReactionPicker: false },