mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix scrollbehavior to top on page change
This commit is contained in:
parent
9ebe75b250
commit
453ceae726
@ -73,7 +73,10 @@ module.exports = {
|
||||
|
||||
router: {
|
||||
middleware: ['authenticated'],
|
||||
linkActiveClass: 'router-active-link'
|
||||
linkActiveClass: 'router-active-link',
|
||||
scrollBehavior: () => {
|
||||
return { x: 0, y: 0 }
|
||||
}
|
||||
},
|
||||
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user