Improve usability

This commit is contained in:
syuilo 2020-11-18 11:21:35 +09:00
parent eaa92e784d
commit 0739ae006d
1 changed files with 1 additions and 2 deletions

View File

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