android keyboard moves tabs

前端 未结 2 797
攒了一身酷
攒了一身酷 2021-02-14 13:59

So I have an Ionic/Phonegap app that I just built using ionic start myApp tabs then I added an input on one of the views. When I focus the input using an android em

2条回答
  •  暖寄归人
    2021-02-14 14:38

    Add following css classes in your Style.ccs

    /* Hide bottom tab bar when keyboard appears*/
    .keyboard-open .has-tabs {
        bottom: 0;
    }
    
    body.keyboard-open .has-footer {
        bottom: 0;
    }
    

    above css classes will do the trick of hiding bottom tab bar when keyboard appears.

提交回复
热议问题