From 59d3e77945bc069bd84f55a68adc6b3873baa7ac Mon Sep 17 00:00:00 2001 From: Steven Day Date: Tue, 26 Apr 2016 09:49:42 +0100 Subject: Stop iOS scrolling the view when the keyboard is shown --- config.xml-example | 1 + www/js/app.js | 2 ++ 2 files changed, 3 insertions(+) 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 @@ + 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 ) { -- cgit v1.2.3