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

Zoom in document #263

Closed
quentinmachard-niji opened this issue Jan 29, 2018 · 3 comments
Closed

Zoom in document #263

quentinmachard-niji opened this issue Jan 29, 2018 · 3 comments

Comments

@quentinmachard-niji
Copy link

Hello,

Your plugin is very great, but I have a problem with it in my project. I can't pinch to zoom in document when display it... I test it on Android and iOS 11.

Here is my call :

<pdf-viewer *ngIf="!error"
                [src]="{
                  url: url,
                  httpHeaders: httpHeaders
                }"
                [original-size]="false"
                [render-text]="true"
                style="display: block;"
                (after-load-complete)="onLoaded($event)"
                (error)="onError($event)"></pdf-viewer>

Thank you very much !

@VadimDez
Copy link
Owner

VadimDez commented Feb 4, 2018

Possibly duplicate of #22

@mill1
Copy link

mill1 commented May 31, 2018

Zoom does not seem to always work in combination with [original-size]="false". Set [original-size]="true" and try again.

@zmeeagain
Copy link

Worked with [original-size]="false" when a display: block; class was applied to the pdf-viewer element.

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