10

I am working on a hybrid app using Cordova and Ionic the app works fine on all iOS devices except iPad that too with split key board

The problem i face is posted here you can see the image in the post.

I tried to do some research and found out this

Also on stack overflow I found out this preference in config see answer but this is not documented neither does it work

Please help

Community
  • 1
  • 1
CognitiveDesire
  • 774
  • 5
  • 20
  • It's not a solution (hence posting as a comment). There is a bug I agree. The best I can do is suggest always including enough padding under the last input that it cannot result in being hidden behind an unsplit keyboard and to choose a background for your app (body etc) that works with the pages where you include forms. Not great I agree. – Harry B Aug 13 '15 at 07:23

1 Answers1

-1

If you don't want the webView to scroll,

use this,

https://github.com/driftyco/ionic-plugin-keyboard 

and in device ready,

cordova.plugins.Keyboard.disableScroll(true);
Giri
  • 565
  • 2
  • 9
  • The issue is not with keyboard being raised its with keyboard being split into two – CognitiveDesire Oct 14 '15 at 17:25
  • 1
    Im not sure if we can check if iOS has the keyboard in split mode or normal mode. Please correct me if im wrong but when the keyboard appears, webview gets scrolled and your background that doesnt match is displayed. Only work arounds i can think is either dont let the webview scroll as i mentioned because split keyboard reveals underneath. Or as harry b mentioned above, apply a background of same color or raise the height of the container when keyboard is displayed. – Giri Oct 14 '15 at 21:24