Subscribe on changes!

Transition effect of v-show leaves is not working in some cases

avatar
Dec 8th 2020

Version

3.0.4

Reproduction link

https://codesandbox.io/s/practical-herschel-62pxj?file=/src/App.vue

Steps to reproduce

when to watch and use transition reference data

The transition effect of v-show leaves is not working.

  • It works well when used as v-if.
  • It works well if the code used as v-if is present together. (Case where comment was removed from minimal link)
  • It works well if temp is not used in template

What is expected?

Apply transition when v-show leaves

What is actually happening?

display: none style added and transition not active