html2canvas-ie-reapply-styles-fix
v1.0.0-rc.5.1
Published
This package is forked from html2canvas v1.0.0-rc.3 to fix problem when during document clone IE falls in quirks mode and misunderstand styling info. Solution is to change width of cloned iframe so that IE re-applies, re-calculates styles. Solution URL -
Downloads
14
Readme
html2canvas
This package is forked (git cloned into site/new/src/node_module_overrides/html2canvas/ folder) from html2canvas v1.0.0-rc.5 to fix problem when during document clone, IE falls into quirks mode and misunderstands styling info.
The solution is to change width of cloned iframe (html2canvas/src/dom/document-cloner.ts lines 450-454) so that IE re-applies/re-calculates styles. Inspired by solution here - https://stackoverflow.com/a/31800273/1067162
URL to original README.md - https://github.com/niklasvh/html2canvas/blob/master/README.md