Fix scrolling on iOS
This commit is contained in:
parent
6ef48562a4
commit
c19f0ea70c
3 changed files with 7 additions and 12 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue