-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Template refs defined inside reactive object do not work #901
Comments
I think this is expected: you need to explicitly pass a reactive({
ref: ref(null)
}) |
It's rather strange that it is necessary to use |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.0-alpha.10
Reproduction link
https://jsfiddle.net/1oxdbr0u/1/
Steps to reproduce
reactive({ foo: null })
<div ref="foo"></div>
)onMounted
hookWhat is expected?
HTML element
What is actually happening?
null
If you use ref or convert a reactive object using toRefs, then everything works fine
The text was updated successfully, but these errors were encountered: