Show keyboard accesory bar (ios)
This commit is contained in:
parent
c19f0ea70c
commit
f2f405b6b3
2 changed files with 8 additions and 7 deletions
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
<div class="create-tab small-only-text-center" ng-hide="create.hideTabs">
|
||||
<div class="row">
|
||||
<div class="tab-container small-6 medium-6 large-6" ng-class="{'selected': totalCopayers == 1}">
|
||||
<div class="tab-container small-6 medium-6 large-6 columns" ng-class="{'selected': totalCopayers == 1}">
|
||||
<a href ng-click="create.setTotalCopayers(1)" translate>Personal Wallet</a>
|
||||
</div>
|
||||
<div class="tab-container small-6 medium-6 large-6" ng-class="{'selected': totalCopayers != 1}">
|
||||
<div class="tab-container small-6 medium-6 large-6 columns" ng-class="{'selected': totalCopayers != 1}">
|
||||
<a href ng-click="create.setTotalCopayers(3)" translate>Shared Wallet</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -160,5 +160,5 @@
|
|||
</div> <!-- large-12 columns -->
|
||||
</div> <!-- row -->
|
||||
</form>
|
||||
</div>
|
||||
<div class="extra-margin-bottom"></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -539,16 +539,17 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
window.addEventListener('native.keyboardhide', function() {
|
||||
$timeout(function() {
|
||||
$rootScope.shouldHideMenuBar = false; //show menu bar when keyboard is hidden with back button action on send screen
|
||||
}, 300);
|
||||
}, 100);
|
||||
});
|
||||
|
||||
window.addEventListener('native.keyboardshow', function() {
|
||||
$rootScope.shouldHideMenuBar = true; //hide menu bar when keyboard opens with back button action on send screen
|
||||
$rootScope.$digest();
|
||||
$timeout(function() {
|
||||
$rootScope.shouldHideMenuBar = true; //hide menu bar when keyboard opens with back button action on send screen
|
||||
}, 300);
|
||||
});
|
||||
|
||||
if (window.cordova.plugins.Keyboard) {
|
||||
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
|
||||
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
|
||||
cordova.plugins.Keyboard.disableScroll(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue