Open bkarv opened 5 years ago
Is the data loaded and all the animations finished at the time you are calling html2canvas?
See https://stackoverflow.com/questions/54691069/ionic-4-html2canvas/55853462#55853462 It works for me too.
I got the same problem
See https://stackoverflow.com/questions/54691069/ionic-4-html2canvas/55853462#55853462 It works for me too.
I got the same problem, but it doesnt fix the problem, i dont know why, i tried many method but didnt successfully
Please make sure you are testing with the latest release of html2canvas. Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:
Bug reports:
i am trying to implement html2Canvas v 1.0.0-rc.1 in my Angular 7/Ionic 4 project.
The issue I have is when I try to get the canvas of a simple div, the return canvas is emptied and nothing is appended to my destination div using *.appendChild as per the documentation.
For debugging I console log the return canvas where it looks like this:
<canvas width="0" height="0" style="width: 0px; height: 0px;"></canvas>
Below is my code and console logs. I've tested in Safari 12 and Chrome 74. What am I doing wrong? Thanks in advance
HTML
Javascript/Component
Console Logs
Specifications: