-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Document loaded but the pages keep on showing the loading animation #201
Comments
Hi @Blustch, |
Hi again @dafooz, |
Any updates on this? Have the same Problem. Strange is, that this problem occurs for me in a material dialog. |
Bump I'm having the same issue here. |
For me, the problem occurs in a material sidenav, and weirdly enough only on Chrome. The end-users of my web-app mainly use Edge or Firefox (where it displays just fine) so in the end, there was no need for me to try to fix it. It's not the only issue I have with Chrome, so I'm slowly moving away with it. |
Facing the same issue in my angular 6 application. The pdf downloads fine (able to see in the browser's network traffic). Seeing loading gif in the DOM for each page of the pdf. The DOM for the pdf page is not getting generated. |
Hi,
I installed and used the package as stated on the page. It seems to work as it's loading the PDF (I checked by adding the after-load-complete event and it get's reached properly) the number of pages is correct and the display is correct as well... My only issue is that instead of showing the content of the pages, it shows a loader on each of them and it never goes away...
EDIT: This seem to be the case only in a specific component of my application. If I try the same code in the main component, it works fine...
In the main component, the pages have the attribute data-loaded=true while in my other component, that attribute isn't there...
Can you please help?
package.json:
code in template:
<pdf-viewer [src]="itemInfo.doc" [render-text]="true" style="display: block;" [original-size]="false" [autoresize]="true" (error)="onPDFError($event)"></pdf-viewer>
Thanks a lot in advance for your help,
Regards,
Dafooz
The text was updated successfully, but these errors were encountered: