Open isabellachen opened 5 years ago
Thanks for the report! This is a hyperx bug, probably the same as https://github.com/choojs/hyperx/issues/34 or https://github.com/choojs/hyperx/issues/41. Hard to say how hard the fix would be.
After some investigation, the issue that is causing this problem is https://github.com/choojs/hyperx/issues/41 I've added details in that issue about exactly what is happening, and a possible solution we might apply.
If an svg element has multiple path tags inside, only the first path is added to the nano element.
If I have an svg element like this:
When the element is rendered in the dom, I get this:
I did a comparison in codesandbox with creating a regular element with
document.createElement
and with nanohtml.