You should be able to use the ionic keyboard API , in particular the method isOpen()- something like these lines should work:
export class MyClass {
showFooter: boolean = true;
constructor(public keyboard: Keyboard) {
}
keyboardCheck() {
if (this.keyboard.isOpen()) {
this.showFooter = false;
}
}
}
and in your HTML you can use ngIf:
<ion-footer *ngIf="showFooter">
<div class="footer1" >
<p>You don't have account? <span [navPush]="pushPage"> Register here</span></p>
</div>
</ion-footer>
Thanks to @sebaferreras for pointing out that you might need to call to let the content recount its sizes when adding headers and footers dynamically. resize()