You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
underfin
added a commit
to underfin/vue-next
that referenced
this issue
May 29, 2020
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 usingv-else
.What is expected?
An element with a
v-else
condition should not be rendered when the precedingv-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.
The text was updated successfully, but these errors were encountered: