-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Open
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemregression
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
.
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemregression