3

I have an app in phonegap that runs on ios and android platforms.

In my app I have main navigation menu at the bottom like this:

enter image description here

But my problem is when the keyboard is opened, my navigation menu hides behind the navigation bar and won't go down until i have to close and resume the app.

enter image description here

I tried the different solutions from google but nothing seems to work, every time keyboard open my navigation menu hides behind navigation bar.

Samar Ali
  • 373
  • 5
  • 13

1 Answers1

0

Try the following code, it may solve your problem.

var hideKeyboard = function() {  document.activeElement.blur();  var inputs = document.querySelectorAll('input');  for(var i=0; i < inputs.length; i++) {   inputs[i].blur();  } };

For more detail you can check the link

http://uihacker.blogspot.in/2011/10/javascript-hide-ios-soft-keyboard.html

Ananta Prasad
  • 3,655
  • 3
  • 23
  • 35