diff --git a/app/components/ScrollToTop.client.vue b/app/components/ScrollToTop.client.vue index dda52dc90..e011ff8d5 100644 --- a/app/components/ScrollToTop.client.vue +++ b/app/components/ScrollToTop.client.vue @@ -2,7 +2,7 @@ const route = useRoute() // Pages where scroll-to-top should NOT be shown -const excludedRoutes = new Set(['index', 'code']) +const excludedRoutes = new Set(['index', 'docs', 'code']) const isPackagePage = computed(() => route.name === 'package' || route.name === 'package-version') const isActive = computed(() => !excludedRoutes.has(route.name as string) && !isPackagePage.value)