From 0e174da2606b619c46ffc577742ea1419b6edf4e Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 28 Jun 2016 15:18:55 -0300 Subject: [PATCH] Fix scroll over input on iOS --- public/views/receive.html | 2 -- src/css/mobile.css | 1 - src/js/routes.js | 5 +++++ 3 files changed, 5 insertions(+), 3 deletions(-) delete mode 100644 public/views/receive.html diff --git a/public/views/receive.html b/public/views/receive.html deleted file mode 100644 index 1dc122042..000000000 --- a/public/views/receive.html +++ /dev/null @@ -1,2 +0,0 @@ - -
diff --git a/src/css/mobile.css b/src/css/mobile.css index 2b489f519..22678c7b0 100644 --- a/src/css/mobile.css +++ b/src/css/mobile.css @@ -12,7 +12,6 @@ body { -ms-user-select: none; user-select: none; -webkit-touch-callout: none !important; - -webkit-overflow-scrolling: touch; } input { diff --git a/src/js/routes.js b/src/js/routes.js index a768c6313..0165df0e9 100644 --- a/src/js/routes.js +++ b/src/js/routes.js @@ -547,6 +547,11 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr $rootScope.$digest(); }); + if (window.cordova.plugins.Keyboard) { + cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); + cordova.plugins.Keyboard.disableScroll(true); + } + $ionicPlatform.registerBackButtonAction(function(event) { event.preventDefault(); }, 100);