From 3125f0249cbcb51dfb896dfab3fa532f10606e39 Mon Sep 17 00:00:00 2001 From: Lightling Date: Thu, 21 Mar 2024 21:47:28 -0400 Subject: [PATCH] scrolls to the page top when navigating --- src/main.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.vue b/src/main.vue index 6ec3876..ccd0fb9 100644 --- a/src/main.vue +++ b/src/main.vue @@ -64,6 +64,9 @@ const refresh = async () => { determineWarning() determineStylesheets(routeConfig.stylesheetUrls) + scrollTo({ + top: 0, + }) ready.value = true }