-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
Vue will remove unused node and set the refs to undefined #6632
Comments
This is actually related to your lib: https://github.com/dalphyx/vue-top-progress/blob/master/src/top-progress.vue#L7 Another solution would be to wrap your component in a div or span |
Yeah, v-show should work. But before v2.4.4 both v-show and v-if works well. |
vue refs undefined |
Version
2.4.4
Reproduction link
https://jsfiddle.net/gloxing/Ltjyjjba/
Steps to reproduce
click button twice, the refs of components will be undefined
What is expected?
the topProgress component show again
What is actually happening?
the refs of component will be undefined
The behaviour is normal in Vue 2.4.2.
The text was updated successfully, but these errors were encountered: