Closed
Description
Version
3.0.0-beta.14
Reproduction link
https://jsbin.com/vazujatufe/1/edit?html,output
Steps to reproduce
Use Vue via the embedded CDN "vue.global.prod.js" file.
Place an HTML comment block (<!-- -->
) just before an element using v-else
.
What is expected?
An element with a v-else
condition should not be rendered when the preceding v-if
condition is satisfied. HTML comments should not effect rendering behavior.
What is actually happening?
The element will still be visible even if the preceding v-if
condition is satisfied.
If the comment block is removed, the v-else
condition will work properly.
This issue is NOT present with the dev "vue.global.js" CDN file, as can be seen if you swap the commented out <script> tags in the minimal reproduction example.
Metadata
Metadata
Assignees
Labels
No labels