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
I have searched for existing issues that already report this problem, without success.
Stencil Version
4.8.2
Current Behavior
if i set in the stencil config experimentalSlotFixes: true the
is relocated correctly but its loses the attribute [slot].
<my-comp><divslot="content">Hello</div></my-comp>
-> will render into:
<my-comp><div>Hello</div></my-comp>
Expected Behavior
<my-comp><divslot="content">Hello</div></my-comp>
-> will render into:
<my-comp><divslot="content">Hello</div></my-comp>
System Info
Node 18, Windows 11, Chrome 120
Steps to Reproduce
Create a snippet with slot attribute. After first render inspect in browser the rendered component and the slot attribute is lost.
Without the experiemental flag (the default) the slot attribute is every time there.
Thanks for the issue! This issue has been labeled as holiday triage. With the winter holidays quickly approaching, much of the Stencil Team will soon be taking time off. During this time, issue triaging and PR review will be delayed until the team begins to return. After this period, we will work to ensure that all new issues & PRs are properly triaged.
In the meantime, please read our 2023 Winter Holiday Triage Guide for information on how to ensure that your issue is triaged correctly.
Activity
ionitron-bot commentedon Dec 25, 2023
Thanks for the issue! This issue has been labeled as
holiday triage. With the winter holidays quickly approaching, much of the Stencil Team will soon be taking time off. During this time, issue triaging and PR review will be delayed until the team begins to return. After this period, we will work to ensure that all new issues & PRs are properly triaged.In the meantime, please read our 2023 Winter Holiday Triage Guide for information on how to ensure that your issue is triaged correctly.
Thank you!
[-]bug: Slot Attribut is lost[/-][+]bug: Slot Attribute is lost[/+]fix(runtime): revert slot relocation forwarding
fix(runtime): revert slot relocation forwarding
fix(runtime): revert slot relocation forwarding (#5222)
tanner-reits commentedon Jan 15, 2024
A fix for this has been included in today's Stencil v4.10 release!
dutscher commentedon Feb 1, 2024
i can confirm! it works https://stackblitz.com/edit/node-uahzga?file=src%2Findex.html
thanks for this fix!