Skip to content

Conversation

@brookslybrand
Copy link
Contributor

Components rendered inside <svg> elements now correctly create SVG elements instead of HTML elements. Previously, wrapper components like function SvgLink() { return <a>...</a> } would create an HTMLAnchorElement instead of an SVGAElement, causing the content to not render.

Fixes #10915

@brookslybrand brookslybrand merged commit 244b76e into main Dec 19, 2025
5 checks passed
@brookslybrand brookslybrand deleted the brooks/fix-svg-components branch December 19, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SVG namespace not propagated through components

3 participants