diff options
-rw-r--r-- | config.xml-example | 1 | ||||
-rw-r--r-- | www/js/app.js | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/config.xml-example b/config.xml-example index b6ca77d..bfcc672 100644 --- a/config.xml-example +++ b/config.xml-example @@ -95,6 +95,7 @@ <plugin name="cordova-plugin-splashscreen" spec="~3.2.1" /> <plugin name="cordova-plugin-statusbar" spec="~2.1.2" /> <plugin name="cordova-plugin-whitelist" spec="~1.2.1" /> + <plugin name="ionic-plugin-keyboard" spec="~2.0.1" /> <engine name="android" spec="~5.1.1" /> </widget> diff --git a/www/js/app.js b/www/js/app.js index a3c85be..3ca6542 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -260,6 +260,8 @@ var tpl = { if ( this.initialized == 1 ) { return this; } + // Stop iOS scrolling the webview when it shows the keyboard + cordova.plugins.Keyboard.disableScroll(true); $('#load-screen').height( $(window).height() ); FMS.initialized = 1; if ( navigator && navigator.splashscreen ) { |