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
{{ message }}
Repository navigation
Discrepancy in parent resolving for vue custom element and vue component #12479
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
Activity
fix(custom-element): fix parent resolving issue when slotted in shado…
fix(custom-element): fix parent resolving issue when slotted in shado…
fix(custom-element): properly locate parent when slotted in shadow dom (