VadimDez/ng2-pdf-viewer

scrollPageIntoView: "1" is not a valid pageNumber parameter.

ursaciuc-adrian opened this issue · 0 comments

Bug Report or Feature Request (mark with an x)
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [x] Bug report -> please search issues before submitting
- [ ] Feature request
- [ ] Documentation issue or request

After the recent update, we started getting this error whenever we render a pdf:
scrollPageIntoView: "1" is not a valid pageNumber parameter.

<pdf-viewer
      class="pdf-viewer"
      [src]="pdfSrc"></pdf-viewer>