viewer.js icon indicating copy to clipboard operation
viewer.js copied to clipboard

pagefocus event not firing?

Open acolchagoff opened this issue 10 years ago • 6 comments

I'm having an issue with large monitors when dealing with powerpoint files (I assume this is because the pages are landscape)

The issue is that when I scroll to the bottom of the document, the last page doesn't load, because it doesn't pass far enough into the viewer. (shrinking the browser window is a workaround, as it allows the user to scroll down far enough)

Here's a screen shot, the monitor resolution is 2560 x 1440 upload_thumb

In the screen shot it is impossible to get the last page of the powerpoint to load without resizing the browser window.

acolchagoff avatar May 28 '15 16:05 acolchagoff

@denodster do you have a live example I can look at? I'm not sure what exactly is happening here.

lakenen avatar Jun 04 '15 21:06 lakenen

  1. Go to http://app.ginkgotree.com/ user: [email protected] password: password
  2. click on Box Test in the course list and then click PPT Test.
  3. Scroll to the bottom with various browser window sizes I've noticed that this happens on larger monitors and is more likely to happen of the browser is taller than it is wide, the lower pages simply do not come up far enough to get the event to fire.

acolchagoff avatar Jun 05 '15 21:06 acolchagoff

@denodster thanks. I was able to repro on your site. What version of viewer.js are you using?

lakenen avatar Jun 08 '15 18:06 lakenen

I'm not sure what is running in production, however our latest trunk has v0.10.7 installed and displays the same behavior.

acolchagoff avatar Jun 09 '15 14:06 acolchagoff

I recently deployed trunk to production, so now I can confirm that we are running v0.10.7

acolchagoff avatar Jun 15 '15 21:06 acolchagoff

@lakenen any update on this? -Thanks

acolchagoff avatar Sep 01 '15 19:09 acolchagoff