From 7d41179b83f6a3b423b0dbf3fdf20cfd2de1b302 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 11 Jul 2023 20:56:40 -0700 Subject: [PATCH] feat: :sparkles: don't close emoji picker if shift is held down, like Discord https://snug.moe/notes/9h1p04dqytz2qfsz --- .../src/components/MkEmojiPickerDialog.vue | 39 ++++++++++++++++--- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/packages/client/src/components/MkEmojiPickerDialog.vue b/packages/client/src/components/MkEmojiPickerDialog.vue index fcd2f26a3c..95000b353a 100644 --- a/packages/client/src/components/MkEmojiPickerDialog.vue +++ b/packages/client/src/components/MkEmojiPickerDialog.vue @@ -12,7 +12,7 @@ :transparent-bg="true" :manual-showing="manualShowing" :src="src" - @click="modal?.close()" + @click="checkForShift" @opening="opening" @close="emit('close')" @closed="emit('closed')" @@ -31,7 +31,7 @@