Disable foreignObjectRendering by default (#1295)

This commit is contained in:
Niklas von Hertzen
2017-12-09 17:51:28 +08:00
parent 13e80cc635
commit d83bc0247a
2 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,7 @@ const html2canvas = (element: HTMLElement, conf: ?Options): Promise<*> => {
imageTimeout: 15000,
proxy: null,
removeContainer: true,
foreignObjectRendering: true,
foreignObjectRendering: false,
scale: defaultView.devicePixelRatio || 1,
target: new CanvasRenderer(config.canvas),
x: left,