ng2-pdf-viewer icon indicating copy to clipboard operation
ng2-pdf-viewer copied to clipboard

[Bug] Page does not work?

Open AnderssonPeter opened this issue 3 years ago • 2 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

When setting page nothing happens? The following should start at page 2 but it starts at page 1 https://stackblitz.com/edit/ng2-pdf-viewer-bk1juc?file=src/app/app.component.html

It never reaches this.getCurrentViewer().scrollPageIntoView({ pageNumber: this._page });. ngOnChanges is executed 2 times

  1. this.isVisible is false
  2. loadPDF is called

It would need to be called a third time to get to the line that actually changes the page?

AnderssonPeter avatar May 25 '22 07:05 AnderssonPeter

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.

stale[bot] avatar Jul 30 '22 18:07 stale[bot]

??

AnderssonPeter avatar Jul 31 '22 06:07 AnderssonPeter

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.

stale[bot] avatar Oct 01 '22 08:10 stale[bot]

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.

stale[bot] avatar Dec 20 '22 22:12 stale[bot]