Skip to content

Commit

Permalink
Disable foreignObjectRendering by default (#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasvh committed Dec 9, 2017
1 parent 13e80cc commit d83bc02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### Changelog ###

#### v1.0.0-alpha3 - TBD ####
* Disable `foreignObjectRendering` by default (#1295)
* Fix background-size when using background-origin and background-size: cover/contain (#1299)
* Added support for background-origin: content-box (#1299)

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d83bc02

Please sign in to comment.