Subscribe on changes!

App crashes when using router-view, transition, suspense and teleport

avatar
Mar 27th 2023

Vue version

3.2.47

Link to minimal reproduction

https://codesandbox.io/p/sandbox/vue-router-suspense-transition-teleport-bug-e47p0j?file=%252Fsrc%252FApp.vue

Steps to reproduce

  1. Click C a few times, notice app is fine
  2. Click B
  3. Now click C again, app will crash

What is expected?

App should not crash

What is actually happening?

App crashes with Uncaught (in promise) TypeError: node is null

System Info

No response

Any additional comments?

I initially thought this issue was a problem with PrimeVue and raised an issue there, but after narrowing it down further it seems more like a core vue problem.

avatar
Mar 29th 2023

Sounds to me that this could be somehow related to https://github.com/vuejs/core/issues/7086

Basically, in place of a