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
Put a <div v-if="false"></div> as the first element inside the template for the named slot.
Add a sibling element after the <div v-if="false"></div>.
What is expected?
The sibling element is rendered irrespective of the <div v-if="false"></div> being rendered
What is actually happening?
The sibling element only renders when <div v-if="false"></div> renders i.e. when I set v-if="true"
This is my first time using codesandbox.io so I also created a git repo with the mcve incase the codesandbox.io link does not work. https://github.com/SarthakSingh31/vue-mcve
The text was updated successfully, but these errors were encountered:
Version
2.6.13
Reproduction link
https://codesandbox.io/s/relaxed-sun-291he?file=/src/App.vue
Steps to reproduce
<div v-if="false"></div>
as the first element inside the template for the named slot.<div v-if="false"></div>
.What is expected?
The sibling element is rendered irrespective of the
<div v-if="false"></div>
being renderedWhat is actually happening?
The sibling element only renders when
<div v-if="false"></div>
renders i.e. when I setv-if="true"
This is my first time using codesandbox.io so I also created a git repo with the mcve incase the codesandbox.io link does not work.
https://github.com/SarthakSingh31/vue-mcve
The text was updated successfully, but these errors were encountered: