css - fix bottom footer to bottom on entering data to ion-input -
i have page if native storage empty div arises, div has input field when try enter data ion-input keyboard pushes along footer bar.
<ion-content> <div>...........</div> </ion-content> <ion-footer class="bottom_bar"> <ion-row > <ion-col> ....</ion-col><ion-row> <ion-row > <ion-col> ....</ion-col><ion-row> </ion-footer>
in css
.bottom_bar { position: fixed; bottom: 2vh; width: 100%; }
try below default classes
<ion-content> <button fab fab-left fab-bottom danger fab-fixed> <ion-icon name="add"></ion-icon> </button> <ion-fixed class="fixed-div"> <button fab fab-right fab-bottom dark> <ion-icon name="add"></ion-icon> </button> </ion-fixed>
<style> .fixed-div { right: 0; bottom: 0; } </style>
Comments
Post a Comment