diff --git a/CHANGELOG.md b/CHANGELOG.md index 15d447c..c3dbd12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 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 + ## 2.14.8 (November 3rd, 2022) - FIX [537](https://github.com/gregnb/react-to-print/pull/537)/[545](https://github.com/gregnb/react-to-print/pull/543) `` nodes marked with the `disabled` attribute were causing printing to hang. Thanks [luckrnx09](https://github.com/luckrnx09) diff --git a/package-lock.json b/package-lock.json index 57dc26c..d39959e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-to-print", - "version": "2.14.8", + "version": "2.14.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "react-to-print", - "version": "2.14.8", + "version": "2.14.9", "license": "MIT", "dependencies": { "prop-types": "^15.8.1" diff --git a/package.json b/package.json index f15b1a1..e6bf113 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-to-print", - "version": "2.14.8", + "version": "2.14.9", "description": "Print React components in the browser", "main": "lib/index.js", "types": "lib/index.d.ts",