Closed wiebekaai closed 6 months ago
Hi, I'm for my page transitions both the old + new content are visible during the transitions. In my onEnterCompleted I clean this up.
onEnterCompleted
The issue I have is that navigating scrolls to top but then does scroll restoration. Can I disable this fully or always scroll to top?
Thanks!
Was overthinking it I guess history.scrollRestoration = 'manual';
history.scrollRestoration = 'manual';
Hi,
Yeah that is the approach I normally use as well!
Hi, I'm for my page transitions both the old + new content are visible during the transitions. In my
onEnterCompleted
I clean this up.The issue I have is that navigating scrolls to top but then does scroll restoration. Can I disable this fully or always scroll to top?
Thanks!