Corinne
Posts: 0
Joined: Thu Sep 19, 2013 2:43 pm

Footer navbar moves up when clicking on a textbox

This is Awesome Marina !!
Just what I needed for a finicky Galaxy s2 Android 4.13
Works great!! :)

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

Footer navbar moves up when clicking on a textbox

There's a typo in the script, in the first if closure:

if(window.orientation === 0 || window.orientation === 180){
portraitScreenHeight = $(window).height();
landscapeScreenHeight = $(window).width();
}

should be portraitScreenHeight not potraitScreenHeight, just for completnes

Eli Abraham
Posts: 0
Joined: Thu Apr 02, 2015 2:12 pm

Footer navbar moves up when clicking on a textbox

The best solution i found for this problem is use this plugin:
( input blur not working so well )

[ionic-plugins-keyboard][1]

[1]: https://github.com/driftyco/ionic-plu...

Code: Select all

  bindViewEvents: function () { 
     var context = this; 
     window.addEventListener('native.showkeyboard', context.keyboardShowHandler); 

     window.addEventListener('native.hidekeyboard', context.keyboardHideHandler); 
 }, 
 keyboardHideHandler: function (e) { 
     var context = this; 
     $(".ui-footer[data-role='footer']").show(); 
 }, 
 keyboardShowHandler: function (e) { 
     var context = this; 
     $(".ui-footer[data-role='footer']").hide(); 
 }
Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Footer navbar moves up when clicking on a textbox

Hello Eli,

Thank you for the update, sure this info will be useful for other users.

UICubic Developer
Posts: 0
Joined: Thu Apr 30, 2015 12:48 pm

Footer navbar moves up when clicking on a textbox

this is not working can u pls tell me what to do ?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Footer navbar moves up when clicking on a textbox

Hi -

Could you please clarify what exactly is not working?
Have you tried to debug your app on a device using Weinre debugger ?

Return to “Issues”