Suspense emits `fallback` but does not displays the slot when using a transition
Version
3.1.1
Reproduction link
Steps to reproduce
- Click on toggle
What is expected?
The fallback content should be displayed
What is actually happening?
It's not
- The fallback event seems to be correctly emitted
As a workaround it's possible to add a v-else
case:
<Suspense>
<template #default>
<component v-if="Component" :is="Component" />
<span v-else></span>
</template>
<template #fallback>
<p>Loading...</p>
</template>
</Suspense>