eclipsesource / eclipsesource/tabris-js

navigationBar height is not displayed correctly with gesture control enabled

Open
#1,943 2 comments 0 reactions 1 assignee Claimed by @mpost View on GitHub
android compatibility cordova
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

### Problem description
In Android, there was a function of ["full-screen mode"](https://developer.android.com/guide/navigation/gesturenav). Using it, the `navigationBar` disappears. It follows that its height becomes zero. But in any case, the `navigationBar.height` will be equal to the real height before applying the following mode.

### Expected behavior
I would like to know whether this mode is used to correctly calculate the size of the elements

### Environment

- Tabris.js version: 3.1
- Device: Xiaomi Redmi 5 Plus
- OS: 8.1.0 (In my case, this feature is available at the MIUI level, not Android ([ex.](https://www.youtube.com/watch?v=V8INC7pb1cg)). This may be important that in Android this function appeared in API 29, but on Mi devices this feature is available even on API 24)

Maybe it'll speed up the research: https://stackoverflow.com/questions/56689210/how-to-detect-full-screen-gesture-mode-in-android-q

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.