somewhat fix scrolling behaviour #127

Merged
floatingghost merged 3 commits from scroll into develop 2022-08-11 17:25:43 +00:00
Showing only changes of commit a7e8a7a64e - Show all commits

View file

@ -376,8 +376,6 @@ const afterStoreSetup = async ({ store, i18n }) => {
history: createWebHistory(),
routes: routes(store),
scrollBehavior: (to, _from, savedPosition) => {
console.log(to, _from)
console.log(savedPosition)
if (to.matched.some(m => m.meta.dontScroll)) {
return {}
}