From f2de1aa1b9d0c2be2c8e7acfc067e8b5384ff8e8 Mon Sep 17 00:00:00 2001 From: Hilson Date: Wed, 7 Jun 2023 03:28:03 +0330 Subject: [PATCH] chore : fixes --- src/router/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/router/index.ts b/src/router/index.ts index 5f12117..7638010 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -14,6 +14,8 @@ const router = createRouter({ history: createWebHistory(), routes, scrollBehavior(to, from, savedPosition) { + let bd = document.body.classList; + bd.remove("overflow-hidden"); document.getElementById('app')!.scrollIntoView({ behavior: "smooth" }); // return { top: 0, behavior: "smooth" }; },