cordova-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CB-13300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759619#comment-16759619
] 

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: https://issues.apache.org/jira/browse/CB-13300
>             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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message