From 0a2740de4c5f584194e1ca72e69af342c6c55482 Mon Sep 17 00:00:00 2001 From: Taron Chatoyan <47221390+t-chatoyan@users.noreply.github.com> Date: Tue, 19 Mar 2024 19:55:27 +0400 Subject: [PATCH] fixed scrolling to top (#1073) Co-authored-by: Taron Chatoyan --- layouts/default.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/default.vue b/layouts/default.vue index dd181be596..fcf54e93ed 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -25,7 +25,7 @@ nuxtApp.hook("page:start", () => { document.querySelector('body').classList.add("loading"); - + window.scrollTo(0, 0); }); nuxtApp.hook("page:finish", () => {