SVG problem
Open
bug
question
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 249
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
this time i'm trying to create SVG's. The problem is: i create a big SVG canvas and then add "path" children to it, but they are not shown.
example:
var SVGcanvasNode = myScene.addChild();
var SVGcanvasDOM = new DOMElement(SVGcanvasNode , {tagName:"svg"});
/_here various setAttribute to set the svg_/
var pathNode= SVGcanvasNode .addChild();
var pathDOM= new DOMElement(pathNode, {tagName:"path"});
/_here various setAttribute to set the path_/
nodes are added to the DOM, but they are not visible in the page.
If i edit the code in Google Chrome just adding, for example, a blank space with the spacebar, everything comes out.
Thanks in advance for the help!
Contributor guide
Assessment
This issue has not been assessed yet.