Reputation: 1714
We created an app using Ionic Framework, AngularJS, Phonegap Build 3.4
We are having some keyboard issues with iOS - on Android its fine:
ANDROID:
Picture 1: We open a message that we received - the reply bar is in the ion-footer-bar div
Picture 2: We tap on the write a message reply input box - this is correct:
iOS:
Picture 1: We open a message that we received - the reply bar is in the ion-footer-bar div
Picture 2: We tap on the write a message reply input box - this is NOT CORRECT! As you can see the whole screen shifted up and away when they keyboard is up. How can we fix this?
Upvotes: 2
Views: 3674
Reputation: 1714
We resolved this finally!! Firstly we had to add this to the ion-footer-bar:
keyboard-attach
And then we upgraded Ionic to the latest stable release:
1.0.0-beta.11
Upvotes: 0
Reputation: 2692
I think this is the issue related to iOS 7.1 because our build was working fine on iOS. One plain hack could be to use ionic keyboard plugin.
You see there are two events provided by this plugins
native.keyboardshow
A number keyboardHeight is given on the event object, which is the pixel height of the keyboard. `native.keyboardhide`
keyboardHeight is sent whenever keyboard appears. You can use this height to resize your main content.
I know this is poor way of solving this issue but it can solve your problem until this issue is solved in framework.
Upvotes: 1