Skip to content

Commit

Permalink
v2.14.10 (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHerbst authored Nov 17, 2022
1 parent 643919d commit ab19cd9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 2.14.10 (November 17th, 2022)

- FIX [556](https://github.com/gregnb/react-to-print/pull/556) In 2.14.9 we changed the print `iframe` size to be dynamic but didn't take into account the fixed offset we were giving to hide it on the page. This resulted in the print `iframe` being partially visible when printing on wide screens. This has been corrected

## 2.14.9 (November 14th, 2022)

- FIX [553](https://github.com/gregnb/react-to-print/pull/553) Ensures that the `iframe` used for printing has the same viewport size as the parent window of the node being printed. Prior to this the browser set the default 300px/150px size on the `iframe`, causing code that changes styles based on viewport sizes (such as many grid systems) to sometimes change the display of the elements being printed, requiring CSS hacks to avoid. Thanks [dantecarlo](https://github.com/dantecarlo) for reviving this issue
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-to-print",
"version": "2.14.9",
"version": "2.14.10",
"description": "Print React components in the browser",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit ab19cd9

Please sign in to comment.