-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1657 breaks unrefElement(exposedComponent)
#1702
Comments
CarterLi
changed the title
https://github.com/vueuse/vueuse/pull/1657 breaks exposed component
#1657 breaks exposed component
Jun 18, 2022
CarterLi
changed the title
#1657 breaks exposed component
#1657 breaks Jun 18, 2022
unrefElement(exposedComponent)
Ref: element-plus/element-plus#8338 (comment) @DrJume Ideas? |
I'm sorry for causing this trouble! This issue seems to happen only with Vue components which use It's very likely to be caused by a bug in Vue.js: |
Thank you for your insight! I submitted a PR in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.Reproduction
https://stackblitz.com/edit/vitejs-vite-amsrj4/
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: