Skip to content

Detached elements casued by getting computed value in ref function #13209

Open
@makedopamine

Description

@makedopamine

Vue version

3.5.13

Link to minimal reproduction

Playground

Steps to reproduce

  1. Open DevTools and navigate to memory tab
  2. Click "Hide" button
  3. Take a heap snapshot and filter using "detached <h1>"

What is expected?

Detached <h1> shouldn't show up in the memory profile.

What is actually happening?

Detached <h1> shows up in the memory profile.

System Info

Chrome 135.0.7049.85

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions