You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A transition with a v-if inside a Suspense element never finishes its transition. This bug was introduced by #1588.
<button @click="show = !show">Toggle modal</button>
<Suspense>
<Transition>
<div class="modal" v-if="show">
I wont complete my animation becuase I'm in a Suspense
</div>
</Transition>
</Suspense>
<Transition>
<div class="modal" v-if="show">
I will complete my animation
</div>
</Transition>
What is expected?
The transition finishes
What is actually happening?
The v-enter-active and v-enter-from classes are applied, but the rest of the transition is never scheduled due to the parent being a Suspense.
The text was updated successfully, but these errors were encountered:
underfin
added a commit
to underfin/vue-next
that referenced
this issue
Jul 24, 2020
Version
3.0.0-rc.4
Reproduction link
https://codesandbox.io/s/vue-3-transition-error-tyxf7?file=/index.html
Steps to reproduce
A transition with a v-if inside a
Suspense
element never finishes its transition. This bug was introduced by #1588.What is expected?
The transition finishes
What is actually happening?
The
v-enter-active
andv-enter-from
classes are applied, but the rest of the transition is never scheduled due to the parent being a Suspense.The text was updated successfully, but these errors were encountered: