diff options
author | Steven Day <steve@mysociety.org> | 2016-04-26 09:49:42 +0100 |
---|---|---|
committer | Steven Day <steve@mysociety.org> | 2016-04-26 09:49:42 +0100 |
commit | 59d3e77945bc069bd84f55a68adc6b3873baa7ac (patch) | |
tree | 910f18079ded371b065f6de247bbe2fa3eecb5ee /www/js/app.js | |
parent | 9a14f241e307a7c054343c482aba977718ca51ed (diff) |
Stop iOS scrolling the view when the keyboard is shown
Diffstat (limited to 'www/js/app.js')
-rw-r--r-- | www/js/app.js | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) { |