cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Breau (JIRA)" <>
Subject [jira] [Commented] (CB-13300) cordova-plugin-statusbar Softkeyboard overlapping Input
Date Mon, 04 Feb 2019 04:23:00 GMT


Norman Breau commented on CB-13300:

This happens because in order to have translucent status bars on android, you must set the
window layout to full screen. However, by setting the window layout to full screen, android
will ignore adjustPan/adjustResize layout parameters, which is responsible for resizing the
view when the keyboard is shown. It will keep the view full screen (and subsequently keep
the cordova webview full screen). So it is difficult to have both translucent status bars
and a keyboard that behaves normal on android.

I've created a PR that works around this issue by listening to view changes and resize the
view appropriately.

> cordova-plugin-statusbar Softkeyboard overlapping Input
> -------------------------------------------------------
>                 Key: CB-13300
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-statusbar
>            Reporter: Ozgun Unlu
>            Priority: Critical
>          Time Spent: 10m
>  Remaining Estimate: 0h
> Android version 6.0.0.
> I added StatusBar.hide(); in deviceReady event. It works well, but when i focus the input,
softkeyboard overlapping on input. 
> If i delete StatusBar.hide();, softkeyboard does not overlap on input.
> Also;
> I tried to change fullscreen preference to false in config.xml
> I tried to change android:windowSoftInputMode="adjustResize" to android:windowSoftInputMode="adjustPan"
in AndroidManifest.xml.
> I dont try on IOS.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message