Skip to content

Commit

Permalink
Merge pull request #1225 from microbiomedata/issue-771-scroll-wheel
Browse files Browse the repository at this point in the history
Fix for bug where studies would not scroll to return to the top of the page when revisited
  • Loading branch information
eecavanna authored Apr 24, 2024
2 parents 7429695 + 66bf598 commit 3b85be1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/plugins/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ const router = new VueRouter({
component: UserPage,
},
],
scrollBehavior: () => ({ x: 0, y: 0 }),
parseQuery,
stringifyQuery,
});
Expand Down

0 comments on commit 3b85be1

Please sign in to comment.