Open
Description
Vue version
v3.5.14 - v3.5.17
Link to minimal reproduction
Steps to reproduce
It seems this issue needs the following conditions to arise:
- Have some templates/slots that start their name with an underscore (_)
- The component that contains the templates/slots (
SubComponent.vue
), is placed in the template of another component (BaseLayout.vue
) and is a sibling of a conditionally rendered template for a slot ofBaseLayout.vue
.
What is expected?
The same behavior as in Vue v3.5.13
: the template is being rendered for _slot2
What is actually happening?
The default slot content is being rendered and not replaced with the template content.
Any additional comments?
Since Vue v3.5.14
this issue occurs. As a workaround I locked the version to v3.5.13
.