Closed Gyurmatag closed 2 years ago
This can be achieved using the Vue router's scrollBehavior In nuxt 3 you might need to customize the scroll behavior using router.options And use the useRouter API to load or save scroll position before each route if you need to
Hey!
It's not really an issue but a discussion question, but I haven't found a discussion page in this repo. So I have a list of Course Cards in a v-for with this package. Here is it:
In the detail page, I've got a normal back button with $router.back(), but I want to navigate the user back exactly where he/she was in the infinite list. Right now, it's navigating back the user to the top of the infinite list, even if the user was at the bottom of the list.
I'm using Nuxt3.
Can you please help me how to solve this issue?
Thank you very much!
Greetings, Gyuri