overlaysWebView change the overlay not only status bar but the keyboard also
After calling StatusBar.overlaysWebView(true); keyboard also cover webview instead of resize it
Platform? Versions of everything? (Cordova, Cordova Platform, Plugin, OS, Device...)
platform Android Checked on Android 5.0, Android 6.0, Android 7.1 Cordova 8.0 (the latest)
Same here, how to fix?
Can you provide a screenshot?
I believe this might be related to #110
@breautek yeah but any solutions?
@tharunkumar0 No, I spent a few hours playing with it, but I don't have much experience in native android development.
Here is what I do know...
The view gets a FULLSCREEN attribute, which appears to be necessary to get the overlay status bar, but it also messes up the keyboard functionality. The view has softInputMode of ADJUST_RESIZE, which tells the view to resize when the keyboard is visible. The problem is, ADJUST_RESIZE isn't compatible with the FULLSCREEN flag. So while FULLSCREEN flag is set, the keyboard will just appear above the view.
This is related to https://issues.apache.org/jira/browse/CB-13300 and https://github.com/apache/cordova-plugin-statusbar/pull/128
If you don't want to wait for the PR to be merged, you use my fork in the meantime:
cordova plugin add https://github.com/breautek/cordova-plugin-statusbar.git#issue-110-statusbar-overlay-keyboard-resize