ionic-team / ionic-team/cordova-plugin-ionic-webview

ios Header / Footer Safe area breaking randomly

Open
#662 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
493
Forks
410
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.