From a7c1a3ddd34df4e0216310245e81431ffd59ebff Mon Sep 17 00:00:00 2001 From: Jamal Jackson Date: Wed, 26 Oct 2016 13:28:08 -0400 Subject: [PATCH] fix flicker issue --- src/js/controllers/tab-send.js | 3 + src/sass/views/tab-send.scss | 1 + www/views/tab-send.html | 126 +++++++++++++++++---------------- 3 files changed, 68 insertions(+), 62 deletions(-) diff --git a/src/js/controllers/tab-send.js b/src/js/controllers/tab-send.js index 0ea31438b..06940e9e9 100644 --- a/src/js/controllers/tab-send.js +++ b/src/js/controllers/tab-send.js @@ -149,6 +149,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function( } }); }); + if ($scope.hasFunds != true) { + $ionicScrollDelegate.freezeScroll(true); + } }; $scope.$on("$ionicView.beforeEnter", function(event, data) { diff --git a/src/sass/views/tab-send.scss b/src/sass/views/tab-send.scss index ccff2790f..fa0ea55ff 100644 --- a/src/sass/views/tab-send.scss +++ b/src/sass/views/tab-send.scss @@ -71,4 +71,5 @@ } } } + .scroll{height: 100%;} } diff --git a/www/views/tab-send.html b/www/views/tab-send.html index 60a594212..b959aee5f 100644 --- a/www/views/tab-send.html +++ b/www/views/tab-send.html @@ -2,73 +2,75 @@ {{'Send' | translate}} - -
- - - -
Start sending bitcoin
-
To get started, buy bitcoin or share your address. You can receive bitcoin from any wallet or service.
-
To get started, you'll need to create a bitcoin wallet and get some bitcoin.
-
- - - -
-
-
- -
Recipient
- -
-
- Contacts - - - -
-
- - - - - Add a Contact - - - - - - - {{item.name}} - - -
- Show more + +
+
+ + + +
Start sending bitcoin
+
To get started, buy bitcoin or share your address. You can receive bitcoin from any wallet or service.
+
To get started, you'll need to create a bitcoin wallet and get some bitcoin.
+
+ + +
+
+
Recipient
+ +
+
+ Contacts + + + +
+ +
-
-
-
- Transfer to Wallet +