The big white box (iOS)

Hello all!

The application that we are using uses a native plugin for viewing and manipulating PDFs and is launched from within the Cordova WebView.

Everything is as usual until certain series rotations are performed.

Opening the PDF in portrait (launching the native view over the WebView), rotating the screen to landscape and then navigating out the the native view causes the white section (see images below).

Notes

  • The interesting part of this bug is that it does not happen on any of the iOS simulators or Android, but is present in both iOS 8 & 9 devices.
  • I cannot find them white space in the DOM by using the Safari web inspector (because unlike chrome, you cannot click to inspect certain sections of the document).
  • There is a scroll bar, and the height of the white space is EXACTLY the same size as the width of the side bar.

Any suggestions or recommendations on solving this issue would be fantastic and greatly appreciated!


Steps

  1. https://www.dropbox.com/s/nzqzwrt1y6hgoh4/IMG_0182.jpg?dl=0
  2. https://www.dropbox.com/s/j7aix4bvkqsl2m2/IMG_0183.jpg?dl=0
  3. https://www.dropbox.com/s/yh86yv0x95ovapw/IMG_0184.jpg?dl=0
  4. https://www.dropbox.com/s/2ugnvdl5a0z0ywg/IMG_0185.jpg?dl=0

Result