-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
New issue
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
slot is reused with v-if/v-else #11652
Labels
Comments
The workaround is to use a |
hmm, this bug should be fixed, if yes, can i take this? :) |
as long as no PR has been submitted anybody can take any bug and give it a try 🙂 |
ygj6
added a commit
to ygj6/vue
that referenced
this issue
Nov 27, 2020
and without slot close vuejs#11652
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.6.12
Reproduction link
https://codepen.io/jiankafei/pen/jOqZdpG
Steps to reproduce
Click the switch button, it will switch between two components with slots and without slots. The components without slots should not appear the slots passed to the components with slots
What is expected?
Should display the fallback slot
What is actually happening?
Displays the previous slot
The text was updated successfully, but these errors were encountered: