diff --git a/components/nav/NavBottom.vue b/components/nav/NavBottom.vue index 82c99d33..97454860 100644 --- a/components/nav/NavBottom.vue +++ b/components/nav/NavBottom.vue @@ -14,7 +14,7 @@ const moreMenuVisible = ref(false)
- +
diff --git a/pages/[[server]]/explore.vue b/pages/[[server]]/explore.vue index ae761cea..9d4679f9 100644 --- a/pages/[[server]]/explore.vue +++ b/pages/[[server]]/explore.vue @@ -3,17 +3,6 @@ import type { CommonRouteTabOption } from '~/components/common/CommonRouteTabs.v const { t } = useI18n() -const search = $ref<{ input?: HTMLInputElement }>() -const route = useRoute() -watchEffect(() => { - if (isMediumOrLargeScreen && route.name === 'explore' && search?.input) - search?.input?.focus() -}) -onActivated(() => - search?.input?.focus(), -) -onDeactivated(() => search?.input?.blur()) - const tabs = $computed(() => [ { to: isHydrated.value ? `/${currentServer.value}/explore` : '/explore', @@ -38,15 +27,12 @@ const tabs = $computed(() => [