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

Chrome error: Invalid SVG dimensions when 'original-size' = false #156

Closed
RichardBosworth opened this issue Sep 10, 2017 · 6 comments
Closed
Assignees
Milestone

Comments

@RichardBosworth
Copy link

Hi,

When using the PDF viewer with Chrome, and when setting [original-size]="false", the PDF is not displayed and Chrome gives the error: Error: Uncaught (in promise): Error: Invalid SVG dimensions.

The same code works on other browsers.

Is there a way I can resolve this?

Thanks!

@codetinker
Copy link

I had exactly same problem. Looking for solution to set pdf max size of container.
If anyone has work around, please post here.

@sdornan
Copy link

sdornan commented Sep 18, 2017

Also having this issue.

@vincent-cm
Copy link

same

@HugzM
Copy link

HugzM commented Sep 22, 2017

I have the same issue on all web browsers

@Gianlu82b19
Copy link

Gianlu82b19 commented Sep 25, 2017

yep same here,
I tried to add style="display: block;width:100%;height:100%; " within the pdf-viewer tag to workaround

@VadimDez VadimDez self-assigned this Sep 29, 2017
@VadimDez VadimDez added this to the 2.0.0 milestone Sep 29, 2017
@VadimDez
Copy link
Owner

fixed in 2.0.0

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

7 participants