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'm guessing that this has something to do with the element namespace in which it was created, although why that is happening I have no idea. Normally, rect and other SVG tags should always be created inside the SVG namespace.
I believe @lukechu10 is correct, it does have to do with a lack of svg namespace. The problem comes from the implementation of instantiate_template for DomNode. By rendering to an HTML string and caching it, we lose the namespace. If you remove DomNode's implementation of instantiate_template and use the generic implementation, this bug does not occur.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Run code:
Expected behavior
Interpolated to render the same as non-interpolated
Environment
Additional context
Interpolated and non-interpolated SVG results in identical DOM, so it seems strange that it does not show on screen
The text was updated successfully, but these errors were encountered: