This is Awesome Marina !!
Just what I needed for a finicky Galaxy s2 Android 4.13
Works great!!
This is Awesome Marina !!
Just what I needed for a finicky Galaxy s2 Android 4.13
Works great!!
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
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();
}
Hello Eli,
Thank you for the update, sure this info will be useful for other users.
this is not working can u pls tell me what to do ?
Hi -
Could you please clarify what exactly is not working?
Have you tried to debug your app on a device using Weinre debugger ?