diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-09 17:08:58 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-09 17:08:58 +0900 |
| commit | 8f28ff63f15531927d57d9aa4e3fde570bb66488 (patch) | |
| tree | fc620328672b6d120387c05aee437682756803d5 | |
| parent | refactor (diff) | |
| download | sharkey-8f28ff63f15531927d57d9aa4e3fde570bb66488.tar.gz sharkey-8f28ff63f15531927d57d9aa4e3fde570bb66488.tar.bz2 sharkey-8f28ff63f15531927d57d9aa4e3fde570bb66488.zip | |
絵文字ピッカーにフォーカスされないのを修正
| -rw-r--r-- | packages/frontend/src/components/MkEmojiPickerDialog.vue | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkEmojiPickerDialog.vue b/packages/frontend/src/components/MkEmojiPickerDialog.vue index da68ecd809..c568d4ed5c 100644 --- a/packages/frontend/src/components/MkEmojiPickerDialog.vue +++ b/packages/frontend/src/components/MkEmojiPickerDialog.vue @@ -59,6 +59,11 @@ function chosen(emoji: any) { function opening() { picker.value?.reset(); picker.value?.focus(); + + // 何故かちょっと待たないとフォーカスされない + setTimeout(() => { + picker.value?.focus(); + }, 10); } </script> |