bug: incorrect 'slot forwarding' when mixing shadow: true
and scoped: true
components during SSR hydration
#6065
Labels
shadow: true
and scoped: true
components during SSR hydration
#6065
Prerequisites
Stencil Version
latest
Current Behavior
Given something like:
scoped: true
component are moved to within theshadow: true
component.non-shadow
slot fallback content remains showing, despite the slot being usedExpected Behavior
Slotted nodes should be forwarded correctly without affecting the rest of the
scoped: true
component.System Info
No response
Steps to Reproduce
Open https://stackblitz.com/edit/stencil-start-ydmeww :
npm run build && npm run express
In the preview window, click on 'non-shadow-forwarded-slot'.
Notice slotted nodes are correctly forwarded, but other component internals are also, incorrectly forwarded.
Notice that the non-shadow
<slot>
fallback content remains showing despite the slot being used.Code Reproduction URL
https://stackblitz.com/edit/stencil-start-ydmeww
Additional Information
The text was updated successfully, but these errors were encountered: