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">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
|
@ -19,13 +19,13 @@
|
|||
<ion-side-menus class="page" ng-controller="indexController as index">
|
||||
|
||||
<!-- Left menu -->
|
||||
<ion-side-menu side="left" expose-aside-when="large" ng-if="isDisclaimerAccepted">
|
||||
<div ng-include="'views/includes/sidebar.html'" ng-if="index.hasProfile"></div>
|
||||
<ion-side-menu side="left" expose-aside-when="large" ng-if="index.hasProfile && isDisclaimerAccepted">
|
||||
<div ng-include="'views/includes/sidebar.html'"></div>
|
||||
</ion-side-menu>
|
||||
|
||||
<!-- 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 id="sectionContainer">
|
||||
<div id="mainSection">
|
||||
|
|
|
|||
|
|
@ -23,14 +23,14 @@
|
|||
</div>
|
||||
<div translate>Create, join or import</div>
|
||||
</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-bank size-24 icon vm"></i>
|
||||
<div class="tu text-bold m5t">
|
||||
<span class="size-12" translate>Buy and Sell</span>
|
||||
</div>
|
||||
</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="fi-widget size-24 icon vm"></i>
|
||||
<div class="tu text-bold">
|
||||
|
|
|
|||
|
|
@ -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