ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Header bar moves up behind statusbar or even completely out of the viewport when form field is focussed

Open rvanbaalen opened this issue 12 years ago • 72 comments

Well.. that about sums it up ^

Screenshot (Ionic beta 1, iPhone 4):

photo-1 photo

rvanbaalen avatar Mar 27 '14 16:03 rvanbaalen

having this issue appear when file upload from Phone/Camera screen opens on iOS.

hishammalik avatar Feb 08 '17 14:02 hishammalik

I'm having this issue with the email composer

Edit For those who are still having this issue even after trying everything, try reverting back to [email protected]. It seems as though 4.3 may have introduced some strange behavior. Even the most recent cordova-ios nightlies didn't seem to fix my problem but reverting fixed it right up.

cory-buckley avatar Feb 18 '17 00:02 cory-buckley

This issue is still happening for me as well, this is not resolved.

tikiwade avatar Feb 22 '17 19:02 tikiwade

In IOS,if we tap on statusbar whole ion-content will blinks in IONIC2.How to resolve this issue.Please suggest.. Thank You.

dutchview-shreesha avatar Mar 02 '17 12:03 dutchview-shreesha

Reverting back to [email protected] didn't help me, sad to say. Same problem after using native camera file library.

Just realized from another post I was able to downgrade the cordova-statusbar plug in from 2.2.1 to 2.2.0 and it fixed the problem. Seems like it was the statusbar plugin causing the problem in my case.

newmediajosh avatar Mar 17 '17 06:03 newmediajosh

I had this issue with

  • ionic 3.9.2
  • cordova-ios 4.4.0
  • iOS 10.3
  • An assortment of iPhone devices and emulators

I had a textarea with height: 100%; (which was all of ion-content) and the ion-header would zoom out of view whenever the textarea was focused. My fix was to change it to height: auto; min-height: 25%; and put the textarea inside a div with height: 100%; margin: 0; padding: 0; and (click)=focusTextArea(). Kinda janky and I'd love a better solution but this works ok for now :+1:

emerzn avatar Aug 18 '17 21:08 emerzn

Please use this plugin ionic cordova plugin add cordova-plugin-ionic-webview --save. Its solved my problem thanks

sohandhaindwal avatar Oct 17 '17 12:10 sohandhaindwal

I experienced the same problem in combination with the email-composer plugin.

I solved the issue by upgrading the cordova-plugin-statusbar from version 2.2.1 to 2.3.0.

jvhe123 avatar Nov 09 '17 12:11 jvhe123

@jvhe123 I just tried doing that but it looks like v2.3.0 does not exist, do you mean v2.2.3?

glenr4 avatar Nov 10 '17 00:11 glenr4

@glenr4 image

jvhe123 avatar Nov 10 '17 07:11 jvhe123

  • cordova-plugin-keyboard 1.2.0
  • ionic-plugin-keyboard 2.2.1

I was having this issue for the iPhone X. Opening the keyboard pushed the header up and almost off the page.

I fixed it by putting an eventListener in my javaScript file for the page affected:

document.addEventListener('deviceready', function(e){ window.addEventListener('native.keyboardshow', function () { cordova.plugins.Keyboard.disableScroll(true); }); });

This worked for me, hopefully it can work for one of you too.

cjbrunnen avatar Jul 13 '18 00:07 cjbrunnen

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 01 '18 03:09 ionitron-bot[bot]