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

Suddenly PDF viewer is not showing PDF, what can be issue ? #38

Closed
MilanRaval opened this issue Dec 12, 2016 · 8 comments
Closed

Suddenly PDF viewer is not showing PDF, what can be issue ? #38

MilanRaval opened this issue Dec 12, 2016 · 8 comments

Comments

@MilanRaval
Copy link

MilanRaval commented Dec 12, 2016

I am using it since long but from today PDF viewer is not showing PDF. Checked the PDF URL its fine, not getting any error in browser when chekced inspect window. How to debug it, what can be the issue

@chunghha
Copy link

if you updated to 0.1.4, try to set [render-text]="false" to your pdf-viewer element. ( #35 )

@MilanRaval
Copy link
Author

I will check, thanks !

@VadimDez
Copy link
Owner

@MilanRaval, still not working ?

@MilanRaval
Copy link
Author

Sorry for late reply, I tried but it is still not showing PDF

<pdf-viewer 
                     [show-all]="true"
                     [zoom]="zoom"
                     [render-text]="false"
                     [original-size]="true"
                     style="display: block;height: calc(100vh - 270px)"></pdf-viewer>

@VadimDez
Copy link
Owner

@MilanRaval having some difficulties to reproduce this issue, is there some kind of PDFs that aren't showing or all of them?

@MilanRaval
Copy link
Author

@VadimDez : It seems some another issue, I am getting error when bundled with webpack. Any configuration is required with webpack ?

@MilanRaval
Copy link
Author

@VadimDez : I got the fix. Thanks for coding it, it is very useful PDF Viewer 👍

@tomazkuralt
Copy link

tomazkuralt commented Nov 4, 2022

@MilanRaval or @VadimDez what was the cause and solution for issue explained here?
As it seems I have very similar issue but do not know what actually caused it?

So in our case suddenly ng2-pdf-viewer stopped displaying PDF content (but only texts). If PDF has some lines in it, they are displayed just fine. We are using 7.0.2

Any help would be much appreciated here

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

4 participants