Fix scrolling on iOS
This commit is contained in:
parent
6ef48562a4
commit
c19f0ea70c
3 changed files with 7 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
|
@ -19,13 +19,13 @@
|
||||||
<ion-side-menus class="page" ng-controller="indexController as index">
|
<ion-side-menus class="page" ng-controller="indexController as index">
|
||||||
|
|
||||||
<!-- Left menu -->
|
<!-- Left menu -->
|
||||||
<ion-side-menu side="left" expose-aside-when="large" ng-if="isDisclaimerAccepted">
|
<ion-side-menu side="left" expose-aside-when="large" ng-if="index.hasProfile && isDisclaimerAccepted">
|
||||||
<div ng-include="'views/includes/sidebar.html'" ng-if="index.hasProfile"></div>
|
<div ng-include="'views/includes/sidebar.html'"></div>
|
||||||
</ion-side-menu>
|
</ion-side-menu>
|
||||||
|
|
||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
|
|
||||||
<ion-side-menu-content drag-content="index.isCordova && index.allowSideBar">
|
<ion-side-menu-content drag-content="index.isCordova">
|
||||||
<div notifications="right top"></div>
|
<div notifications="right top"></div>
|
||||||
<div id="sectionContainer">
|
<div id="sectionContainer">
|
||||||
<div id="mainSection">
|
<div id="mainSection">
|
||||||
|
|
|
||||||
|
|
@ -23,14 +23,14 @@
|
||||||
</div>
|
</div>
|
||||||
<div translate>Create, join or import</div>
|
<div translate>Create, join or import</div>
|
||||||
</li>
|
</li>
|
||||||
<li ng-show="!index.isWindowsPhoneApp && (index.glideraEnabled || index.coinbaseEnabled)" menu-toggle href ui-sref="buyandsell">
|
<li ng-show="!index.noFocusedWallet && !index.isWindowsPhoneApp && (index.glideraEnabled || index.coinbaseEnabled)" menu-toggle href ui-sref="buyandsell">
|
||||||
<i class="icon-arrow-right3 size-18 right m10t vm"></i>
|
<i class="icon-arrow-right3 size-18 right m10t vm"></i>
|
||||||
<i class="icon-bank size-24 icon vm"></i>
|
<i class="icon-bank size-24 icon vm"></i>
|
||||||
<div class="tu text-bold m5t">
|
<div class="tu text-bold m5t">
|
||||||
<span class="size-12" translate>Buy and Sell</span>
|
<span class="size-12" translate>Buy and Sell</span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li menu-toggle href ui-sref="preferencesGlobal">
|
<li ng-show="!index.noFocusedWallet" menu-toggle href ui-sref="preferencesGlobal">
|
||||||
<i class="icon-arrow-right3 size-18 right m10t vm"></i>
|
<i class="icon-arrow-right3 size-18 right m10t vm"></i>
|
||||||
<i class="fi-widget size-24 icon vm"></i>
|
<i class="fi-widget size-24 icon vm"></i>
|
||||||
<div class="tu text-bold">
|
<div class="tu text-bold">
|
||||||
|
|
|
||||||
|
|
@ -70,12 +70,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
};
|
};
|
||||||
|
|
||||||
self.allowRefresher = function() {
|
self.allowRefresher = function() {
|
||||||
if ($ionicSideMenuDelegate.getOpenRatio() != 0) {
|
if ($ionicSideMenuDelegate.getOpenRatio() != 0) self.allowPullToRefresh = false;
|
||||||
self.allowPullToRefresh = false;
|
|
||||||
if (isCordova && platformInfo.isIOS) $ionicScrollDelegate.$getByHandle('my-handle').freezeScroll(true);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (isCordova && platformInfo.isIOS) $ionicScrollDelegate.$getByHandle('my-handle').freezeScroll(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
self.hideBalance = function() {
|
self.hideBalance = function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue