Open wq1308786830 opened 4 years ago
const canvasElement = await html2canvas(node, { scale: 1, height: node.scrollHeight, useCORS: true, // allow cors sources }); // never execute this line console.log(canvasElement)
code console.log(canvasElement) never executed, even though in .then((canvasElement) => console.log(canvasElement)) way.
console.log(canvasElement)
.then((canvasElement) => console.log(canvasElement))
+1. Weirdly if I set breakpoint in the await html2canvas line, and continue with execution, it works fine
await html2canvas
Have you found solution for iOS?
Bug reports:
code
console.log(canvasElement)
never executed, even though in.then((canvasElement) => console.log(canvasElement))
way.Specifications: