We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.4.2
https://jsfiddle.net/floorish/25ukxqmu/
<span v-if="val"></span><div v-else></div>
Directive is notified that the component is changed and the new <div> element is passed
<div>
Directive is not updated and still refers to the old <span> DOM node
<span>
The text was updated successfully, but these errors were encountered:
538ad20
fix(directive): should invoke unbind & inserted on inner component ro…
7065f11
…ot element change fix vuejs#6513
957d0dc
No branches or pull requests
Version
2.4.2
Reproduction link
https://jsfiddle.net/floorish/25ukxqmu/
Steps to reproduce
<span v-if="val"></span><div v-else></div>
What is expected?
Directive is notified that the component is changed and the new
<div>
element is passedWhat is actually happening?
Directive is not updated and still refers to the old
<span>
DOM nodeThe text was updated successfully, but these errors were encountered: