[
https://issues.apache.org/jira/browse/CB-9696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Tiuraniemi closed CB-9696.
-------------------------------
Resolution: Fixed
This is fixed in the Cordova Android master branch by commit:
https://github.com/apache/cordova-android/commit/312872adaf15d36aedd880a4768eced5ebdc868d
The preference is called "FullscreenNotImmersive" and setting it to true
removes immersive mode and goes back to old fullscreen behaviour.
> Add possibility to use non-immersive fullscreen in all Android versions
> -----------------------------------------------------------------------
>
> Key: CB-9696
> URL: https://issues.apache.org/jira/browse/CB-9696
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Affects Versions: Master
> Reporter: Timo Tiuraniemi
> Priority: Minor
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Issue CB-8902 added a fullscreen immersive mode for Android version >=4.4
> Kitkat.
> As I commented on the issue, 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.
> I propose that we introduce a new setting "fullscreen-immersive" to turn
> immersive off, but keep fullscreen on like this:
> <preference name="fullscreen" value="true" />
> <preference name="fullscreen-immersive" value="false" />
> The new setting would default to true, making this change non-breaking for
> everyone.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]