MatthewHerbst / react-to-print

Print React components in the browser. Supports Chrome, Safari, Firefox and EDGE
MIT License
2.06k stars 221 forks source link

Why does it render different content when in im browsing in mobile #703

Open LeighDaillan opened 5 months ago

MatthewHerbst commented 5 months ago

Hello. Could you please add some details to your question? But the likely answer is because the website you are printing from has different styles when you are on mobile.

LeighDaillan commented 5 months ago

Yup that's what i thought also im using this library to save the PDF also to print but when im browsing my webpage in my phone it print the webpage not the jsx that i set to pdf

Maxnikit commented 5 months ago

I have same issue with google chrome.

JJozef commented 1 month ago

Yup that's what i thought also im using this library to save the PDF also to print but when im browsing my webpage in my phone it print the webpage not the jsx that i set to pdf

I have the same problem, but when I use Safari this behaviour does not happen.