Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Next and previous not working as expected #68

Open
aparnanambissan opened this issue Nov 8, 2017 · 2 comments
Open

Next and previous not working as expected #68

aparnanambissan opened this issue Nov 8, 2017 · 2 comments

Comments

@aparnanambissan
Copy link

Steps to reproduce :

  1. Open the pdf, press next/previous in the toolbar, the pages are loaded in steps of 1. (works fine on first try)
  2. Close the pdf and open again.
  3. Press next/previous button. The page is now loaded in steps of 2. (ie page 1,3,5..)
  4. For subsequent opening and closing of the pdf, the step size is increasing with count one.

Please suggest on how to tackle this.

@isylhdin
Copy link

Did you find a workaround ? I am facing the same problem

@kalebakula
Copy link

hello all

We are also facing same issue because event listeners are getting added again and again whenever pdfjs-viewer directive gets laoded. It is making to fire all the events again and again please help to fix this issue. I have two templates which are using same directive but controller is same. Whenever i navigate between these two viewes events are getting added again and again

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants