From 0739ae006d016fc10d8c0853d1f3c55ee2a674ad Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 18 Nov 2020 11:21:35 +0900 Subject: [PATCH] Improve usability --- src/client/components/emoji-picker.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/components/emoji-picker.vue b/src/client/components/emoji-picker.vue index 5cfd97e374..2cf8add506 100644 --- a/src/client/components/emoji-picker.vue +++ b/src/client/components/emoji-picker.vue @@ -315,8 +315,7 @@ export default defineComponent({ }, mounted() { - const isIos = navigator.userAgent.includes('WebKit') && !navigator.userAgent.includes('Chrome'); - if (!isIos) { + if (!os.isMobile) { this.$refs.search.focus({ preventScroll: true });