Prerequisites
Ionic Framework Version
Current Behavior
Using a tabbed app in the mobile browser the ion-header is being pushed off the top when the mobile keyboard opens. Please note this issue only occurs when fullscreen is set to true.
Expected Behavior
Header stays positioned at the top.
Steps to Reproduce
Hello.
To create the bug:
- Create tabbed app for a mobile browser
- On a tab page place a ion-header and ion-content with fullscreen set to true
- Add a div to the tab page with a view height of roughly 70 depending on your device
- Add a ion-input to activate the mobile keyboard
- ion-header will get pushed off the screen
Sample code below:
<ion-header [translucent]="true">
<ion-toolbar>
<ion-title>
Tab 1
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content [fullscreen]="true">
<div style="height: 70vh">
Mobile Device Fullscreen Header Bug - [fullscreen]="true"
</div>
<ion-item>
<ion-input placeholder="Click Here - Watch Header Disappear"></ion-input>
</ion-item>
</ion-content>
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 5.4.4 (C:\Users\Admin\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 6.1.0
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.2.6
@angular/cli : 13.2.6
@ionic/angular-toolkit : 6.1.0
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v14.17.0 (C:\Program Files\nodejs\node.exe)
npm : 6.14.13
OS : Windows 10
Additional Information
No response
Prerequisites
Ionic Framework Version
Current Behavior
Using a tabbed app in the mobile browser the ion-header is being pushed off the top when the mobile keyboard opens. Please note this issue only occurs when fullscreen is set to true.
Expected Behavior
Header stays positioned at the top.
Steps to Reproduce
Hello.
To create the bug:
Sample code below:
<ion-header [translucent]="true"><ion-toolbar><ion-title>Tab 1</ion-title></ion-toolbar></ion-header><ion-content [fullscreen]="true"><div style="height: 70vh">Mobile Device Fullscreen Header Bug - [fullscreen]="true"</div><ion-item><ion-input placeholder="Click Here - Watch Header Disappear"></ion-input></ion-item></ion-content>Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 5.4.4 (C:\Users\Admin\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 6.1.0
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.2.6
@angular/cli : 13.2.6
@ionic/angular-toolkit : 6.1.0
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v14.17.0 (C:\Program Files\nodejs\node.exe)
npm : 6.14.13
OS : Windows 10
Additional Information
No response