diff --git a/src/router.ts b/src/router.ts index 80368a64..1f9b0c1e 100644 --- a/src/router.ts +++ b/src/router.ts @@ -74,6 +74,8 @@ router.addRoute({ router.afterEach(({ name }) => { document.body.setAttribute('data-route', name as string) + // Fix route when modal opened + document.body.style.overflow = 'visible' }) export { router }