Subscribe on changes!

TransitionGroup children el may be null

avatar
Aug 29th 2023

Vue version

3.2.45

Link to minimal reproduction

https://cv4p7l.csb.app/

Steps to reproduce

click delete button wait second

What is expected?

no error reported

What is actually happening?

error reported

System Info

No response

Any additional comments?

When the children of TransitionGroup are components, first set the elements inside the component to empty through v-if. Afterwards, an error will be reported when TransitionGroup executes the end animation.

https://codesandbox.io/s/recursing-surf-cv4p7l?file=/src/App.vue

avatar
Aug 29th 2023

#9068

avatar
Oct 24th 2023

duplicate of #5168