Open
Description
Vue version
3.5.13
Link to minimal reproduction
Steps to reproduce
We can see from the inject texts:
In vue component, Child component's parent is "Parent', its actual slotted parent
but in custom element, Child component's parent is "GrandParent"
What is expected?
should have same behavior
What is actually happening?
For now in custom element, parent resolving is done by iterating parentNode
and host
, we should check assignedSlot
first to get actual slotted parent in actual render tree order
System Info
No response
Any additional comments?
No response