Open mgoetz85 opened 4 years ago
Same problem here.
"Solution" was to manually hide and show Statusbar after keyboard hide:
window.addEventListener('keyboardDidHide', function () { StatusBar.hide(); StatusBar.show(); });
The same problem was with cordova camera-plugin.
In file CDVKeyboard.m edit comment code
if ([self settingForKey:@"StatusBarOverlaysWebView"] != nil && ![[self settingForKey:@"StatusBarOverlaysWebView"] boolValue]) { //CGRect full, remainder; //CGRectDivide(screen, &remainder, &full, statusBar.size.height, CGRectMinYEdge); //screen = full; }
I am using this keyboard plugin in a project together with the status-bar plugin (https://github.com/apache/cordova-plugin-statusbar).
I defined that the status-bar does not overlay the WebView via StatusBar.overlaysWebView(false) and it seems that this is not considered by cordova.plugins.Keyboard.shrinkView(true). When I open the keyboard, the view shrinks but it is slipping under the statusbar.
I am testing on iPhone 11 Pro with iOS 13.4
Any idea?