News Tech and Science

Google Chrome ‘HTML print preview’ issue reported by users

Google Chrome 'Properties' Redirects Bing

Multiple users have reportedly been experiencing an issue with Google Chrome ‘HTML print preview’ option.

Reports of Google Chrome ‘HTML print preview’ issue

By using the print command, users of Google Chrome can print directly from the browser on their computer or mobile device.

A part of the user’s document or webpage that they would like to print is displayed in a new browser tab that is opened by an HTML print preview. But it appears to be having some problems.

The affected users claim that it either prints distorted chunks of the outputs of whatever they want to print or produces hundreds of blank pages.

Every page is shown and printed with a small amount of excess content, which alters the layout from what the user intended.

The latest v108 Google Chrome update has brought along the issue, despite it working flawlessly in earlier versions of the browser.

A user posted: “Recently Chrome updated to the latest version 108.0.5359.95 which impacted on JavaScript window.print() function. In print review or after print found my table jumping on new pages.”

“CSS Media Print Not Working with React MUI Components After first page break. I’m trying to style a react page to be printable using the browser print function using CSS media queries. However, I’m having issues with the media print section,” another affected user posted.

Even the most recent version of Google Chrome, 108.0.5359.125, appears to be affected, according to sources.

Issue not acknowledged yet + potential workaround

Although the developers have not yet acknowledged this issue, it has been opened in the Chromium issue tracker and there are potential active developments.

There is a potential workaround that involves changing the CSS property’s “position: absolute” to “fixed” or “relative.” The code requires changing in 2 places.

The first place: “.chartjs-size-monitor-expand > div {position: fixed !important; // cannot stay “absolute”}.”

The second:  “chartjs-size-monitor,
.chartjs-size-monitor-shrink,
.chartjs-size-monitor-expand,
.chartjs-size-monitor-expand > div {
position: fixed !important; // cannot stay “absolute”}”

Another solution is to downgrade to v107 or an older version, which does not appear to be impacted by this issue. Affected users will have to wait for an official fix or try the above mentioned workarounds.

About the author

Jike Eric

Jike Eric has completed his degree program in Chemical Engineering. Jike covers Business and Tech news on Insider Paper.




Daily Newsletter