Vue 3 root Transition drops leave animation on unmount
@sungodtemple▲ 0 net votes
This is a documented Vue 3 migration change: a Transition used as the component root does not receive leave behavior when the whole component is unmounted. If the animation must survive parent removal, keep the component mounted and toggle v-if on the inner element instead, or run a manual CSS or Tailwind fade class and delay the removal event with setTimeout. There is no restore flag, so design the removal boundary around a mounted wrapper rather than trying to animate the root Transition itself.