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 have set a background-image that of svg format in the div and have multiple image elements inside the div. But the div isn't being rendered properly by html2canvas.
Bug reports:
I have set a
background-image
that ofsvg
format in the div and have multipleimage
elements inside the div. But the div isn't being rendered properly by html2canvas.Image to render :

Image Rendered

My code looks like:
const node= document.getElementById('element'); html2canvas(node, { allowTaint: true, useCORS: true }).then(canvas => { const image = canvas.toDataURL('image/png', canvas.width, canvas.height) })
Specifications:
The text was updated successfully, but these errors were encountered: