You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Timo Tiuraniemi (JIRA)" <ji...@apache.org> on 2015/08/14 10:26:46 UTC

[jira] [Commented] (CB-8902) "Fullscreen" set to 'true' should hide the navigation bar on capable android devices

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

Timo Tiuraniemi commented on CB-8902:
-------------------------------------

Unfortunately this change broke my >=KitKat app. Immersive mode is significantly different from the old behavior:

1. Fullscreen in 4.1.1 is triggered later during boot than in 4.0.0, which cause my layout to slightly break as CSS is evaluated before fullscreen is ready. 
2. When activating the keyboard, to navigation bar comes back. It didn't in 4.0.0. When I close the keyboard, the navigation bar doesn't get hidden but fullscreen is lost.

Might it be possible to introduce a new setting to turn immersive off, but keep fullscreen on? For example:

    <preference name="fullscreen" value="true" />
    <preference name="fullscreen-immersive" value="false" /> 

with fullscreen-immersive defaulting to true? If that would be possible, I could make a new issue and submit a pull request for this.

> "Fullscreen" set to 'true' should hide the navigation bar on capable android devices
> ------------------------------------------------------------------------------------
>
>                 Key: CB-8902
>                 URL: https://issues.apache.org/jira/browse/CB-8902
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>    Affects Versions: Master
>            Reporter: Kenneth Chan
>            Assignee: Andrew Grieve
>             Fix For: Master
>
>
> "Fullscreen" preference set to 'true' in the config.xml should hide the navigation bar on android devices that support immersive mode.
> https://github.com/apache/cordova-android/pull/175



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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