ionic3 软键盘上移覆盖底部栏解决

if (platform.is('ios')) {
  let  appEl = <HTMLElement>(document.getElementsByTagName('ION-APP')[0]),
      appElHeight = appEl.clientHeight;

  Keyboard.disableScroll(true);
  window.addEventListener(
'native.keyboardshow', (e) => {     appEl.style.height = (appElHeight - (<any>e).keyboardHeight) + 'px';   });   window.addEventListener('native.keyboardhide', () => {     appEl.style.height = '100%';   }); }

参考:https://github.com/ionic-team/ionic/issues/7149

原文地址:https://www.cnblogs.com/rjwx60/p/10798265.html