Hi all,
While testing the STAC browser, we observed that the VueRouterretains the current scroll position when navigating to a new page. This becomes inconvenient when dealing with a large number of collections; for example, selecting a collection lower down the list leaves you viewing the bottom of the subsequent page rather than starting at the top.
The fix for this appears straightforward:
scrollBehavior() {
return { x: 0, y: 0 };
}
Before proceeding, I wanted to gather your thoughts on this. I’m happy to create a PR if needed.
Hi all,
While testing the STAC browser, we observed that the VueRouterretains the current scroll position when navigating to a new page. This becomes inconvenient when dealing with a large number of collections; for example, selecting a collection lower down the list leaves you viewing the bottom of the subsequent page rather than starting at the top.
The fix for this appears straightforward:
Before proceeding, I wanted to gather your thoughts on this. I’m happy to create a PR if needed.