Skip to content

Preserve namespace for portal targets - #4437

Open
lukaszsamson wants to merge 1 commit into
phoenixframework:mainfrom
lukaszsamson:ls-portal-ns
Open

Preserve namespace for portal targets#4437
lukaszsamson wants to merge 1 commit into
phoenixframework:mainfrom
lukaszsamson:ls-portal-ns

Conversation

@lukaszsamson

Copy link
Copy Markdown
Contributor

If a phx-portal template's root is namespaced (/MathML), the target is an HTMLUnknownElement and the SVG children live under a non-SVG root, content does not display. This PR fixes this by using createElementNS(namespaceURI, ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant