1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 23:31:48 +09:00

Improve usability

This commit is contained in:
syuilo 2020-11-18 11:21:35 +09:00
parent eaa92e784d
commit 0739ae006d

View File

@ -315,8 +315,7 @@ export default defineComponent({
}, },
mounted() { mounted() {
const isIos = navigator.userAgent.includes('WebKit') && !navigator.userAgent.includes('Chrome'); if (!os.isMobile) {
if (!isIos) {
this.$refs.search.focus({ this.$refs.search.focus({
preventScroll: true preventScroll: true
}); });