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 });