-
Notifications
You must be signed in to change notification settings - Fork 196
When printing a PDF on a Android chrome, only the first page will be printed #2890
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
Comments
@KillerCodeMonkey I'm not sure if you're using Android, but it's worth a try... are you aware of any print problems with Android? Should I increate the delay, like I already do for iOS? |
I am facing the same issue on macos with chrome - only the first page shows up. |
@stephanrauh tested in chrome and firefox for android and i can confirm that only the first page is rendered in chrome, but it is working in firefox :). EDIT: Tested chromium based Brave and there it only prints the first page as well. |
@manubauer Can you test if the showcase prints correctly on your machine? I bet it's a CSS issue in your case. I've tested it a few seconds ago, and I see all 333 pages of my test document. |
@stephanrauh it seems that the pdf viewer is trying to print the wrong dom node, when using inside a dialog or something similar. on your demo page (simple demo). it does not print the pdf, when using the print button on Android Brave Browser. Same happens in my app, where a pdf is shown in a dialog/modal. It prints the page body below. In the demo it prepares very long all >300 pages, but this is the preview But it is working in Firefox based browsers. |
@KillerCodeMonkey I didn't expect that behavior. It feels like a hot trace! |
I find this code, I think Android needs a delay of 1500ms yet.
The text was updated successfully, but these errors were encountered: