fix : Scanner and keyboard at same time
This commit is contained in:
parent
919d29e1b5
commit
1ebba5c0d0
10 changed files with 83 additions and 49 deletions
|
|
@ -919,13 +919,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
}
|
||||
|
||||
window.addEventListener('native.keyboardshow', function() {
|
||||
document.querySelector('div.tabs').style.display = 'none';
|
||||
angular.element(document.querySelector('ion-content.has-tabs')).css('bottom', 0);
|
||||
});
|
||||
|
||||
window.addEventListener('native.keyboardhide', function() {
|
||||
var tabs = document.querySelectorAll('div.tabs');
|
||||
angular.element(tabs[0]).css('display', '');
|
||||
document.body.classList.add('keyboard-open');
|
||||
});
|
||||
|
||||
$ionicPlatform.registerBackButtonAction(function(e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue