When im opening my keyboard this div always pushes on top of the keyboard.
On ios it stays behind the keyboard. How can i stop that behavior on Android?
I think you should look into the styling of the parent elements of the positioned one, as the height of those are probably changing to match with the keyboard. I do feel like changing that could mess up other things in your app, but give it a shot.
#!/usr/bin/env node
var fs = require('fs');
var path = require('path');
var pathToManifest = path.join(__dirname, '../platforms/android', 'AndroidManifest.xml');
if(fs.existsSync(pathToManifest)) {
var config = fs.readFileSync(pathToManifest, 'utf8');
var result = config.replace(/(android:windowSoftInputMode=").*?(")/, '$1adjustPan$2');
fs.writeFileSync(pathToManifest, result, 'utf8');
console.log('Set android:windowSoftInputMode to adjustPan');
} else {
console.log('Could not find AndroidManifest to set android:windowSoftInputMode');
}