#Nested routes doesn't ScrollToTop on navigation.

2 messages · Page 1 of 1 (latest)

livid igloo
#

I've got quite static layout with only one part of it being scroll-able, with overflow: auto . But when I'm navigating from one child page to another scroll position is inherited.

I've tried add definePageMeta scrollToTop: true on every child page, but it does nothing.

This section is not full height nor full width. It's just part of a layout with <NuxtPage> in it.
Is there any way to force this part to scroll to top ?

#

If it changes anything, switching between child routes is done via navigateTo at async request finish.