erayakartuna / pdf-flipbook

Browse PDF document like a book turning its pages
MIT License
399 stars 193 forks source link

Jump to page not working #6

Open CodeBrauer opened 4 years ago

CodeBrauer commented 4 years ago

By using a pdf with bookmarks the jump to page links are not working.

Any fast idea to link that action to $("#magazine").turn('page', x);

  scrollIntoView @ viewer.js:156
  PDFViewer_scrollPageIntoView @ viewer.js:5217
  set currentPageNumber @ viewer.js:4884
  set page @ viewer.js:1606
  set page @ viewer.js:6560
  (anonymous) @ VM6135:1

Example pdf with bookmarks: https://download.novapdf.com/download/samples/pdf-example-bookmarks.pdf

xMr110 commented 3 years ago

i have the same issue and it echo an error to console log each time page flipped so if have managed to fix it please reply to this