readium / readium-js-viewer

👁 ReadiumJS viewer: default web app for Readium.js library
BSD 3-Clause "New" or "Revised" License
555 stars 185 forks source link

Previous/next page buttons disappear in an epub exported from InDesign #219

Closed dmitrym0 closed 10 years ago

dmitrym0 commented 10 years ago

To reproduce:

  1. Load an epub in Readium Chrome
  2. Start navigating through the document via arrow keys or left/right page buttons.

Result: Eventually (maybe 30 pages) the buttons disappear. Navigation is still possible with arrow keys.

The document is a huge single spine epub created by InDesign. iBooks has a tough time opening it due to the size perhaps. The buttons only disappear the first time the document is open immediately after adding it to the library. I couldn't reproduce it on subsequent opens.

Unfortunately, I can't share the document, but we may be able to produce another one.

screenshot-1

dmitrym0 commented 10 years ago

One additional note, you can see the scrollbar on the right, that's doesn't seem right.

danielweck commented 10 years ago

I experienced similar "invisible DOM element" issues due to GPU hardware acceleration of CSS transforms. What does the DOM inspector reveal where the previous/next arrows would normally be displayed?

dmitrym0 commented 10 years ago

Pulled from develop, and can no longer reproduce this issue. The screenshot from above is from 2.15.2, and it doesn't seem to be happening in the latest develop (4ec7d8b, 2.16.0). Closing.