From 73237788f28c5694e79ed7bfba0d6114bf586de3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Nov 2020 21:33:36 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B5=B5=E6=96=87=E5=AD=97=E3=83=94=E3=83=83?= =?UTF-8?q?=E3=82=AB=E3=83=BC=E3=81=A7=E3=82=A8=E3=83=B3=E3=82=BF=E3=83=BC?= =?UTF-8?q?=E3=81=97=E3=81=9F=E3=81=A8=E3=81=8D=E3=81=AB=E6=A4=9C=E7=B4=A2?= =?UTF-8?q?=E7=B5=90=E6=9E=9C=E3=81=AE=E5=85=88=E9=A0=AD=E3=81=AE=E3=82=82?= =?UTF-8?q?=E3=81=AE=E3=81=A7=E7=A2=BA=E5=AE=9A=E3=81=A7=E3=81=8D=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/emoji-picker.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/client/components/emoji-picker.vue b/src/client/components/emoji-picker.vue index e38206f14..247e59e8a 100644 --- a/src/client/components/emoji-picker.vue +++ b/src/client/components/emoji-picker.vue @@ -361,6 +361,14 @@ export default defineComponent({ this.chosen(exactMatchUnicode); return true; } + if (this.searchResultCustom.length > 0) { + this.chosen(this.searchResultCustom[0]); + return true; + } + if (this.searchResultUnicode.length > 0) { + this.chosen(this.searchResultUnicode[0]); + return true; + } }, } });