react-to-print: Printing failed because the `contentWindow` of the print iframe did not load
Printing failed because the contentWindow of the print iframe did not load
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 23 (10 by maintainers)
I have these problems:
documentTitle, does not work, it takes the title of the site.@MatthewHerbst suddenly its working again, without any change… I dont know what to tell you lol. probably some version mismatch
@MatthewHerbst Desktop chrome. nothing more. its an nextjs app… this was working before
Unfortunately we’re at the mercy of Android here 😢
@JJozef For Chrome mobile you can do:
For the title, you have to change the title of the page unfortunately
Hello guys any update about this?
@MatthewHerbst I found the bug.
removeAfterPrintwas causing it. If I remove that prop, it works fine…The same code I provided works on Codesandbox. 😂 Maybe other things caused the error, I will try to find out. Thank you for your reply.