When keyboard comes up, ensure input is in view


#1

Hi
I have a question with version v0.9.25.
Does i need to specified something in the controller or html or somewhere else to have input in view when keybord comes up ?
Actualy my inputs are mask.

I use android 4.3 and ionic 0.9.25.
i upgrade to 0.9.25 to test this fix: “android: when keyboard comes up, ensure input is in view (9327ac71, closes #314)”


#2

Did you manage to solve your problem somehow? I’m having a similar issue on Android. Thanks


#3

If you’re still having this problem, can you plop some sample code in CodePen? We can then test it locally on devices.

Questions:

  • Ionic Verion?
  • Cordova Version?
  • Copy of your <head>?
  • Android Version and Device
  • CodePen sample that causes the problem when run on device. We’ll put it in a local app and run on device.

Thanks


#4

Thanks @Calendee.

While putting this together, I’ve found that the problem only exists when my footer input is in a modal. If I put the modal’s contents in the main page, it works as desired. Also, on my iPhone 5 it also works as desired. On my android device the input remains hidden behind the keyboard.

Here’s the code that reproduced this issue on my device:

Ionic: Beta 3
Cordova: 3.4.1-0.1.0
Android Device: DROID RAZR MAXX
Android Version: 4.1.2
Cordova Plugins Installed:

[ 'com.monday.contact-chooser',
  'com.phonegap.plugins.PushPlugin',
  'com.phonegap.plugins.facebookconnect',
  'org.apache.cordova.camera',
  'org.apache.cordova.console',
  'org.apache.cordova.contacts',
  'org.apache.cordova.device',
  'org.apache.cordova.dialogs',
  'org.apache.cordova.file',
  'org.apache.cordova.file-transfer',
  'org.apache.cordova.plugin.sms',
  'org.apache.cordova.splashscreen',
  'org.apache.cordova.vibration' ]

Thanks!


#5

This problem seems to be fixed for me in the latest nightlies. Input now appears on top of keyboard! :smile: