From bfd9577f0d0f6a112b5bfbcbd37c64bd053b74ac Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Nov 2020 12:35:12 +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=82=92=E9=96=8B=E3=81=84=E3=81=9F=E3=81=A8?= =?UTF-8?q?=E3=81=8D=E3=81=AB=E7=94=BB=E9=9D=A2=E3=81=8C=E3=82=B9=E3=82=AF?= =?UTF-8?q?=E3=83=AD=E3=83=BC=E3=83=AB=E3=81=99=E3=82=8B=E3=81=AE=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/emoji-picker.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/components/emoji-picker.vue b/src/client/components/emoji-picker.vue index 394387c012..21d39e8e9e 100644 --- a/src/client/components/emoji-picker.vue +++ b/src/client/components/emoji-picker.vue @@ -270,7 +270,9 @@ export default defineComponent({ }, mounted() { - this.$refs.search.focus(); + this.$refs.search.focus({ + preventScroll: true + }); }, methods: {