apache / cordova-plugin-statusbar

Apache Cordova Status Bar Plugin
https://cordova.apache.org/
Apache License 2.0
618 stars 480 forks source link

Webview doesn't take full height after hide #231

Closed globules-io closed 1 year ago

globules-io commented 1 year ago

Bug Report

Problem

Statusbar.hide(); hides the status bar but the webview is not stretched vertically. It leaves a white space where the statusbar was.

What is expected to happen?

Have the webview take 100% of the available height

What does actually happen?

A white space is left over of the height of the status bar

Environment, Platform, Device

<preference name="StatusBarBackgroundColor" value="#FFFFFF" />
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="StatusBarDefaultScrollToTop" value="false" />
<preference name="StatusBarStyle" value="lightcontent" />
<preference name="android-minSdkVersion" value="18" />
<preference name="android-maxSdkVersion" value="32" />
<preference name="android-targetSdkVersion" value="32" />

<plugin name="cordova-plugin-statusbar" spec="^3.0.0" />

Version information

Cordova 11 cordova-android 10.1.2 Verified on device Android 6.0.1

Checklist