From c19f0ea70c4335b675e37922fd00c5e71837e171 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 14 Jul 2016 18:55:46 -0300 Subject: [PATCH] Fix scrolling on iOS --- public/index.html | 8 ++++---- public/views/includes/sidebar.html | 4 ++-- src/js/controllers/index.js | 7 +------ 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/public/index.html b/public/index.html index 3f70a663a..4277f4235 100644 --- a/public/index.html +++ b/public/index.html @@ -1,4 +1,4 @@ - + @@ -19,13 +19,13 @@ - -
+ +
- +
diff --git a/public/views/includes/sidebar.html b/public/views/includes/sidebar.html index eb90b3cea..4b67781da 100644 --- a/public/views/includes/sidebar.html +++ b/public/views/includes/sidebar.html @@ -23,14 +23,14 @@
Create, join or import
-
  • +
  • Buy and Sell
  • -
  • +
  • diff --git a/src/js/controllers/index.js b/src/js/controllers/index.js index d536eafb9..be1713459 100644 --- a/src/js/controllers/index.js +++ b/src/js/controllers/index.js @@ -70,12 +70,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r }; self.allowRefresher = function() { - if ($ionicSideMenuDelegate.getOpenRatio() != 0) { - self.allowPullToRefresh = false; - if (isCordova && platformInfo.isIOS) $ionicScrollDelegate.$getByHandle('my-handle').freezeScroll(true); - return; - } - if (isCordova && platformInfo.isIOS) $ionicScrollDelegate.$getByHandle('my-handle').freezeScroll(false); + if ($ionicSideMenuDelegate.getOpenRatio() != 0) self.allowPullToRefresh = false; } self.hideBalance = function() {