Hi, I’ve consulted so many posts about keyboard hiding header bar and found the solution to be:
- add a keyboard plugin
cordova plugin add https://github.com/driftyco/ionic-plugins-keyboard.gitusing command line. - add
cordova.plugins.Keyboard.disableScroll(true);to the javascript.
Following post also says so:
http://ionicframework.com/docs/api/page/keyboard/
But when i do above steps, i get an error cordova is not defined. I added the disableScroll function to my controller.
I’m sure it’s something silly that i’m doing, but can please anybody lend some help. Thanks.