-
-
Notifications
You must be signed in to change notification settings - Fork 886
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
Page rendering delay on high resolution pages #1063
Comments
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days. |
Hello @MuthuChess were you able to solve this issue? |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days. |
There cannot be a rendering placeholder like we have for loading and error, because after the page is loaded, canvas is mounted for pdf.js to paint on. What you can do, however, is to place your own loader on top, and listen to onRenderSuccess to hide it. |
See #1149 (comment) for more info on how you can, at least to some extend, improve performance of rendering big PDFs on high resolution screens. |
Before you start - checklist
Description
My PDF has some high resolution images where the page load is successful but takes few seconds to render the image on to the screen. Until then, there is a white blank page.
There is an attribute loading to show message while loading
It would be great if there is an rendering attribute to display a message when rendering in progress (between loading success and render success).
Steps to reproduce
Expected behavior
To provide an option to display some text so that the user is aware of something is happening
Actual behavior
It just displays a blank screen where is user is not aware if something is happening or if it is a blank page
Additional information
No response
Environment
The text was updated successfully, but these errors were encountered: