Open OComert opened 5 years ago
Error confirmed, using the latest version of library and browser!
Have you found a solution for this SVG problem?
Have you found a solution for this SVG problem?
I am currently transforming all my SVG files into images and them add them to the DOM and this works perfectly fine.
Use case: description, code
if there is SVG image on DOM, i am getting error following. domtoimage.toJpeg(document.body, { quality: 1 }) .then(function (dataUrl) { // });
jsfiddle
Expected behavior
As the other type image,i am expecting to take screenshot succesfully.
Actual behavior (stack traces, console logs etc)
Uncaught (in promise) in console![capture](https://user-images.githubusercontent.com/45988096/50202067-b84ec780-036d-11e9-8d88-5b080da60be8.PNG)
Library version
2.6.0
Browsers