Skip to content

TransitionGroup children el may be null #9067

Closed
@royalknight56

Description

@royalknight56

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.has PRA pull request has already been submitted to solve the issuescope: transition

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions