You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The statusbar forgets its background color when StatusBar.overlaysWebView(true) is invoked or toggled.
What is expected to happen?
The statusbar to retain its background color when overlaysWebView is called. overlaysWebView should only change the overlay state, not the statusbar color.
What does actually happen?
The statusbar always goes to a completely transparent color on StatusBar.overlaysWebView(true)
StatusBar.overlaysWebView(true);StatusBar.backgroundColorByHexString('#33000000');// Statusbar is a slightly transparent gray here, as expected
...
StatusBar.overlaysWebView(false);// statusbar goes black as expected
...
StatusBar.overlaysWebView(true);// statusbar should be slightly transparent gray
Another example:
StatusBar.backgroundColorByHexString('#FF0000');// status bar is redStatusBar.overlaysWebView(true);// status bar is overlayed but loses its color.StatusBar.overlaysWebView(false);// status bar goes back to black, should be red
Environment, Platform, Device
Android 9
Version information
Cordova 9, cordova-android 9, statusbar 2.4.3
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
The text was updated successfully, but these errors were encountered:
Bug Report
Problem
The statusbar forgets its background color when
StatusBar.overlaysWebView(true)
is invoked or toggled.What is expected to happen?
The statusbar to retain its background color when
overlaysWebView
is called.overlaysWebView
should only change the overlay state, not the statusbar color.What does actually happen?
The statusbar always goes to a completely transparent color on
StatusBar.overlaysWebView(true)
Information
Originally the bug was discovered at #155 (comment)
Command or Code
Another example:
Environment, Platform, Device
Android 9
Version information
Cordova 9, cordova-android 9, statusbar 2.4.3
Checklist
The text was updated successfully, but these errors were encountered: