Skip to content

destroy hook is called before transition finishes #6983

@autumnwoodberry

Description

@autumnwoodberry

Version

2.5.2

Reproduction link

https://codepen.io/autumnwoodberry/pen/yPNdRB

Steps to reproduce

  • Click the "toggle" button.
  • Notice that the "destroyed" hook of the transitioning component has been executed before the transition is complete.

What is expected?

destroyed hook is not executed until after the transition is complete

What is actually happening?

destroyed hook is executed before transition is complete


https://forum.vuejs.org/t/vue-destroys-components-on-a-page-when-they-are-still-needed/20560/4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions