Revert "remove android keyboard extra padding"
This commit is contained in:
parent
6514fbc274
commit
b17bef30ea
2 changed files with 7 additions and 9 deletions
|
|
@ -910,7 +910,13 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener('native.keyboardshow', function() {
|
window.addEventListener('native.keyboardshow', function() {
|
||||||
document.body.classList.add('keyboard-open');
|
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', '');
|
||||||
});
|
});
|
||||||
|
|
||||||
$ionicPlatform.registerBackButtonAction(function(e) {
|
$ionicPlatform.registerBackButtonAction(function(e) {
|
||||||
|
|
|
||||||
|
|
@ -431,11 +431,3 @@ input[type=file] {
|
||||||
.left {
|
.left {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.keyboard-open .tabs{
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.keyboard-open .has-tabs{
|
|
||||||
bottom:0;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue