You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While PDF.js is rendering pages, it shows a little loading spinner, that disappears once the page is done rendering.
The steps above should show a loading spinner.
What went wrong?
The loading spinner is added to the document, however it's added to the center of the page. The center of the page is outside of the browser viewport, so the spinner is not visible.
Link to a viewer
No response
Additional context
I noticed this while working on #19128. The spinner should be in the middle of the visibleArea computed in that PR.
The text was updated successfully, but these errors were encountered:
nicolo-ribaudo
changed the title
[Bug]: The rendering spinner is now always visible
[Bug]: The rendering spinner is not always visible
Nov 29, 2024
nicolo-ribaudo
changed the title
[Bug]: The rendering spinner is not always visible
[Bug]: The rendering indicator is not always visible
Nov 29, 2024
The spinner in the pageNumber-input (on the toolbar) is however always visible, which makes this a lot less problematical (and possibly even a non-issue).
Attach (recommended) or Link to PDF file
This is not specific to any PDF file.
Web browser and its version
Firefox 133
Operating system and its version
Not relevant
PDF.js version
master (308ca2a)
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
What is the expected behavior?
While PDF.js is rendering pages, it shows a little loading spinner, that disappears once the page is done rendering.
The steps above should show a loading spinner.
What went wrong?
The loading spinner is added to the document, however it's added to the center of the page. The center of the page is outside of the browser viewport, so the spinner is not visible.
Link to a viewer
No response
Additional context
I noticed this while working on #19128. The spinner should be in the middle of the
visibleArea
computed in that PR.The text was updated successfully, but these errors were encountered: