fix scroll resize in send view and adding timeout to ionicScrollDelegate.resize
This commit is contained in:
parent
e1fbc1202f
commit
db987e4817
8 changed files with 23 additions and 21 deletions
|
|
@ -55,7 +55,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
|||
$timeout(function() {
|
||||
$ionicScrollDelegate.resize();
|
||||
$scope.$apply();
|
||||
});
|
||||
}, 10);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
@ -145,15 +145,15 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
|||
|
||||
if (index == wallets.length) {
|
||||
$scope.checkingBalance = false;
|
||||
if ($scope.hasFunds != true) {
|
||||
$ionicScrollDelegate.freezeScroll(true);
|
||||
}
|
||||
$timeout(function() {
|
||||
$scope.$apply();
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
if ($scope.hasFunds != true) {
|
||||
$ionicScrollDelegate.freezeScroll(true);
|
||||
}
|
||||
};
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue