summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-01-09 17:08:58 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-01-09 17:08:58 +0900
commit8f28ff63f15531927d57d9aa4e3fde570bb66488 (patch)
treefc620328672b6d120387c05aee437682756803d5
parentrefactor (diff)
downloadsharkey-8f28ff63f15531927d57d9aa4e3fde570bb66488.tar.gz
sharkey-8f28ff63f15531927d57d9aa4e3fde570bb66488.tar.bz2
sharkey-8f28ff63f15531927d57d9aa4e3fde570bb66488.zip
絵文字ピッカーにフォーカスされないのを修正
-rw-r--r--packages/frontend/src/components/MkEmojiPickerDialog.vue5
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>