readium-shared-js icon indicating copy to clipboard operation
readium-shared-js copied to clipboard

iPhone: Able to scroll document out of view when using 'scroll-document' scroll settings

Open bradleygore opened this issue 9 years ago • 0 comments

This issue is a Bug

Expected Behaviour

That the document can be vertically scrolled up to the end of the document, but not beyond.

Observed behaviour

When using scroll-document as the scroll setting, the nested iframe html document is given a min-height of 1056px. If you're on small devices, such as phones, then this allows you to scroll the document entirely out of view.

Steps to reproduce (on a phone)

  1. Navigate to the Page Blanche epub in the cloud reader app: https://readium.firebaseapp.com/?epub=epub_content%2Fpage-blanche
  2. Change settings so that the scroll option is set to the single document option.
  3. Scroll to the page bottom, and beyond!

Test file(s)

https://readium.firebaseapp.com/?epub=epub_content%2Fpage-blanche

Product

  • Readium cloud reader app
    • latest
    • Mobile Safari
    • iOS - iPhones 6 and 7

Additional information

This issue does not happen on android devices and chrome browser, so may be just an apple thing?

bradleygore avatar Sep 26 '16 20:09 bradleygore