Open nathanboktae opened 7 years ago
yeah, i nice to it but i don‘t know how to resolve
Hello, has this been resolved?
Any fix?
Is there any reason to not use the directives's 'inserted hook' for initialisation instead of the component's 'mounted' hook? The former works with v-if.
I've noticed the same bug occurs when the component with the directive is rendered inside a slot. Then hook:mounted
also doesn't fire.
I noticed when I used this on an element along with
v-if
that in thebind
method,hook:mounted
never fired even after the element appeared, so it never set itself up.