Hello,
I’m trying to put a div at the bottom of ion-view
(outside of <ion-content>
) but it’s not working on Android - the div is rendered above the keyboard (see screenshot below).
After some debugging I found that the height of ion-view
is reduced to available space when keyboard opens, but on iOS it doesn’t.
Here is an example:
<ion-view>
<ion-content>
<input type="text" placeholder="type something here...">
</ion-content>
<div class="bottom-stuff">Should be under keyboard</div>
<style>
input {
height: 40px;
width: 200px;
}
.bottom-stuff {
position: absolute;
bottom: 0;
}
</style>
</ion-view>
Screenshot:
Ionic version: 1.3.1
Ionic info:
Cordova CLI: 6.4.0
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.3.0
Xcode version: Xcode 8.2.1 Build version 8C1002