Moves scrollPageIntoView to the PDFViewer.
This commit is contained in:
parent
f5d416cfdf
commit
374b94381d
4 changed files with 113 additions and 112 deletions
|
@ -202,7 +202,7 @@ var PDFFindController = (function PDFFindControllerClosure() {
|
|||
// If the page is selected, scroll the page into view, which triggers
|
||||
// rendering the page, which adds the textLayer. Once the textLayer is
|
||||
// build, it will scroll onto the selected match.
|
||||
page.scrollIntoView();
|
||||
this.pdfViewer.scrollPageIntoView(index + 1);
|
||||
}
|
||||
|
||||
if (page.textLayer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue