Skip to content

Refs get cleaned/garbage collected before the onLeave and onBeforeLeave transitions hooks #11296

Open
@JasonGotGithub

Description

@JasonGotGithub

Vue version

v3.4.31

Link to minimal reproduction

https://stackblitz.com/edit/github-gyqmpz-bdzdrb?file=src%2Fpages%2FAbout.vue

Steps to reproduce

Clicking on the navigation link will trigger navigating. In the console the refs for the pages will be logged

What is expected?

The expected behavior is that the refs should trigger errors and have content within it

What is actually happening?

The refs are empty

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions