ionic-team / cordova-plugin-ionic-webview

Web View plugin for Cordova, specialized for Ionic apps.
Apache License 2.0
484 stars 391 forks source link

ios Header / Footer Safe area breaking randomly #662

Open jbu4github opened 2 years ago

jbu4github commented 2 years ago

I have a Cordova app wrapping a web-app in a web view.

Android has no issues that I can see, but iOS appears to discard the CSS safe area settings for padding, at random, but reproducibly when putting the app into the background and foreground (via XCode simulator).

Similar issues are described here:

https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/604 https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/49

I have all of the viewport settings and CSS padding-top/bottom inset settings advised in these issues installed. The padding is correctly displayed until the app is cycled between background/foreground.

Does anyone have any suggestions for a solution?