Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.
This repository was archived by the owner on May 4, 2022. It is now read-only.

iOS: When ionic keyboard appears, status bar becomes un-overlayed #573

@ionitron-bot

Description

@ionitron-bot

Original issue by @Yuripetusko on 2018-02-14T17:41:29Z

Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[ ] 4.x
[x] Plain Cordova

I'm submitting a ... (check one with "x")
[x ] bug report
[ ] feature request

Current behavior:
on iOS I set <preference name="StatusBarOverlaysWebView" value="false" /> and using cordova-plugin-ionic-keyboard with <preference name="KeyboardResize" value="true" /> and resize method set to native. When keyboard opens, statusbar becomes overlaid. I can fix it by manually calling

window.StatusBar.hide();
window.StatusBar.show();

Expected behavior:
If I set <preference name="StatusBarOverlaysWebView" value="false" /> it should remain un-overlayed even when keyboard opens

Steps to reproduce:
Install:

<plugin name="cordova-plugin-statusbar" spec="git+https://github.com/apache/cordova-plugin-statusbar.git" />
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />

set following settings

<preference name="StatusBarStyle" value="default" />
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="KeyboardResize" value="true" />

Focus on any input field and observe status bar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions