VadimDez/ng2-pdf-viewer

pdfViewer.scrollPageIntoView() is not working.

RZ-Jyothsna opened this issue · 1 comments

I am using
node version: 18.0.0
pdfjs-dist: "3.9.179"
framework: react18

I got "is not a valid page number" as error message when trying to use "scrollPageIntoView" in PDFViewer. I guess _pages[pageNumber - 1] has not returned page data.
for "pdfViewer.pagesCount", "0" is displayed in console.

How to fix this.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.