Open ybaturin opened 3 years ago
I have this same issue (of an SVG heavy chart taking 30+ seconds to render all while hanging the entire web site in safari), so... +1 on this being needed!
Cloning the whole page to take a screenshot of a small part is an overkill IMHO. I'm wondering whether there is a way to not clone the whole page.
@niklasvh It makes sense. Please, pay attention to this
Bug reports:
If a page contains a log of SVG nodes, e.g. amCharts (based on SVG), the call html2canvas(pageNode) freezes Firefox & Safari for a while. It could take several minutes. Just compare:
Suggestion
Add an option in html2canvas to turn off copyCssStyles in SVG nodes.
Specifications: