tsayen / dom-to-image

Generates an image from a DOM node using HTML5 canvas
Other
10.21k stars 1.68k forks source link

SVG shapes are not rendered #442

Open Marchiuzzz opened 1 year ago

Marchiuzzz commented 1 year ago

Use case: description, code

I'm trying to use this package in combination with https://github.com/anseki/leader-line , however, the latter package's created svg's are not rendering in the image. As you can see in the fiddle, I do add them to the container.

jsfiddle

Expected behavior

SVG shape to be rendered in image

Actual behavior (stack traces, console logs etc)

SVG shape is not rendered in image

Library version

Master

Browsers

Have only tested on Chrome

sadia-onyxtec commented 10 months ago

Were you able to resolve it? Please help!