Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants