-
-
Notifications
You must be signed in to change notification settings - Fork 423
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
[show-all] is showing first two page only. #54
Comments
Same issue, show-all: true is just showing the first two pages |
Also same issue! Works fine with [show-all]="false" and using pagination to get to each page of the document but show-all is not displaying the last page. This is true even on your demo https://vadimdez.github.io/ng2-pdf-viewer/ |
Same issue |
Same issue here. |
Same problem |
I have the number of pages stored in my database so i use ngFor by creating an empty array based on the number of pages and index + 1 for the workaround |
afterLoad() I am using the PDFDocumentProxy and calling pdf.getPage(i) in a loop to get each PDFPageProxy and calling render on each page. No need to fetch the pdf more than once.
|
pdf-viewer.component.js `PdfViewerComponent.prototype.renderMultiplePages = function () {
|
I know this issue is closed, but I'm experiencing it in the following version: Any help would be appreciated. |
make sure nothing override it. |
Using ng2-pdf-viewer: 7.0.1 and it is not working here again. |
So this appears to be something with the scrolling / virtualization implementation. I was having this same issue, but noticed all the pages were still in the DOM, the scroll just wasn't recognized. In my scenario, i was using |
show-all is showing first two page only.
<pdf-viewer [src]="pdfSrc"
[page]="page"
[original-size]="false"
[render-text]="false"
[show-all]="true"
style="display: block;">
pdfSrc: string = "../assets/pdf/Cuelinks_SDK-Integration_Guide.pdf"
page: number = 5;
I dont know what value give in page.
The text was updated successfully, but these errors were encountered: