Skip to content

#1657 breaks unrefElement(exposedComponent) #1702

@CarterLi

Description

@CarterLi

Describe the bug

exposed component is a proxy object which only contains exposed properties. You can get values of public properties like$el but testing their existence will fail if users didn't expose them manually.

'$el' in (plain as VueInstance)

Reproduction

https://stackblitz.com/edit/vitejs-vite-amsrj4/

System Info

With minimal reproduction is provided, this section is meaningless

Used Package Manager

npm

Validations

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