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%;     } 

enter image description here

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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -