DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
akelalix opened this issue · 1 comments
akelalix commented
Hi @ALL,
Good day.
When I tried using it on a blank component page the code works perfectly, but if I apply it on a child child component, it produces this error
DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
I tried putting height on the container of the vue-html2-pdf but still produces an error.
Can someone please help me.
Thank you