Ionic iOS: Navigating our of native view causes white space -
hello all!
the application using uses native plugin viewing , manipulating pdfs , launched within cordova webview.
everything usual until series rotations performed.
opening pdf in portrait (launching native view on webview), rotating screen landscape , navigating out the native view causes white section (see images below).
notes
- the interesting part of bug not happen on of ios simulators or android, present in both ios 8 & 9 devices.
- i cannot find them white space in dom using safari web inspector (because unlike chrome, cannot click inspect sections of document).
- there scroll bar, , height of white space same size width of side bar.
any suggestions or recommendations on solving issue fantastic , appreciated!
steps
this peter pspdfkit - pdf framework you're using here.
i doubt it's causes issue seems parent view doesn't correctly update on rotation. apple changed few callbacks on ios 9 , older code relies on willrotatetointerfaceorientation:
no longer called when not on screen. don't have experience ionic it's possible not aware of change or you're using older version. we've seen similar bug in cordova while ago.
Comments
Post a Comment