Static GitHub Issues

[813] Node is removed during transition from one route to another

prev: child_process & fs module not found
next: Broken i18n example

I have a use-case where I want to do a slide enter/leave left/right transitions like we see in vue hackernews 2.0 app. Currently I see that route nodes are removed when we transition from one route to another, we can see this if slow down the animation the previous route nodes will not be visible while current route node appears slowly with the animation. While this works for some cases, but we still want previous node like vue-hackernews-2.0 has.

An example can be seen here: https://waiting-direction.glitch.me/cards/2 and the code is here: https://glitch.com/edit/#!/waiting-direction?path=pages/cards/_page.vue:16:14

You can also try and slow down the transition in hackernews app here: https://vue-hn.now.sh/top/2 and see that the previous card is still there while the next card animates in.

Maybe I'm missing something or Nuxt.js is removing the nodes from one page to another during routing push ? @Atinux

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c699">#c699</a>)</em></sub></div>