PDF.js jumps to top of page when zooming #1521

Closed
user1113 opened this Issue Apr 10, 2012 · 2 comments

Comments

Projects
None yet
3 participants

Hello,

I am experiencing an issue with PDF.js.

If I zoom (whether it's with the controls or the +/- keys), the document viewer always jumps to the top of the page. I have to scroll back to the place where I was every time. This is probably not intended, and certainly not desirable.

Test case:

  1. Go to this Example PDF
  2. Zoom to -for example- 200%
  3. Scroll to the bottom of the page
  4. Zoom in or out using the buttons or the +/- keys

  5. Expected result: the viewer zooms in (or out) at the displayed part of the page.
    Actual result: the viewer zooms and jumps to the top of the page.

    I am using PDF Viewer 0.2.537; my user-agent is: Mozilla/5.0 (Windows NT 6.0; rv:11.0) Gecko/20100101 Firefox/11.0

xixixao commented Jun 13, 2013

Same here, official demo http://mozilla.github.io/pdf.js/web/viewer.html in FF21

brendandahl closed this in #3513 Aug 2, 2013

Contributor

timvandermeij commented Aug 5, 2013

@brendandahl Should we reopen this until a new PR has arrived?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment