Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whole page prints on mobile browsers #570

Closed
pvalcamartins opened this issue Dec 22, 2022 · 2 comments
Closed

Whole page prints on mobile browsers #570

pvalcamartins opened this issue Dec 22, 2022 · 2 comments

Comments

@pvalcamartins
Copy link

https://codesandbox.io/s/rzdhd

I'm tryng to print a single component through a mobile browser and it doesn't work for me. On the mobile the page rendered to print is the whole page with all elements and components. On desktop all works fine, but on mobile it looks like that the useRef lost the reference and print all page.

I tested on chrome and opera (mobile).

Does anyone have faced this issue? Thank you in advance

17 28 25

@ericmartins0203
Copy link

i had the same issue

@MatthewHerbst MatthewHerbst changed the title Print a component does not work on mobile browsers Whole page prints on mobile browsers Dec 22, 2022
@MatthewHerbst
Copy link
Owner

Hello. Going to close this in favor of #187 which is the same issue. Unfortunately I'm not aware of a fix yet, but I do plan on looking into this more soon. If you have any ideas on a possible fix, PRs are always welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants