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
Removing the <slot> wrapper or adding <svelte:options namespace="svg" /> at the top of the component works around the issue.
This is likely due to the element being created with document.createElement("circle") instead of document.createElementNS("http://www.w3.org/2000/svg", "circle");.
Describe the bug
If an SVG element (ex.
<circle>
) is placed within a<slot>
as the fallback, the element is not visible, even though the markup is correct.Removing the
<slot>
wrapper or adding<svelte:options namespace="svg" />
at the top of the component works around the issue.This is likely due to the element being created with
document.createElement("circle")
instead ofdocument.createElementNS("http://www.w3.org/2000/svg", "circle");
.Related issue: #11219
Reproduction
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: