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
3.0.0-alpha.11
https://jsfiddle.net/vdh4mkeo/10/
As you click the button, the div :key changes, which means Vue should create new DOM elements to replace it, not update it in place.
div
:key
The flashy div should fade in each time you click, as can be seen in this Vue 2 re-creation: https://codepen.io/jkarczm/pen/RwWbaNa
flashy
The div doesn't flash, DOM is updated in place.
The text was updated successfully, but these errors were encountered:
fix(compiler-core): elements with dynamic keys should be forced into …
d531686
…blocks fix #916
Closed via d531686 (commit message referenced wrong issue)
Sorry, something went wrong.
No branches or pull requests
Version
3.0.0-alpha.11
Reproduction link
https://jsfiddle.net/vdh4mkeo/10/
Steps to reproduce
As you click the button, the
div
:key
changes, which means Vue should create new DOM elements to replace it, not update it in place.What is expected?
The
flashy
div should fade in each time you click, as can be seen in this Vue 2 re-creation:https://codepen.io/jkarczm/pen/RwWbaNa
What is actually happening?
The div doesn't flash, DOM is updated in place.
The text was updated successfully, but these errors were encountered: