Hi, when an input has focus, the keyboard pushes up my webview and the upper part of the page is not visible anymore, particullary navbar and side panel.
I want to prevent the keyboard pushing up the webview. I read another question about this problem on the forum but neither help me to solve the issue. I installed the plugin suggested by @nolimits4web
https://github.com/cjpearson/cordova-plugin-keyboard with the command
cordova plugin add cordova-plugin-keyboard
in my cordova project. How can I solve it? Thank you in advance
I put this code into index.js
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
Keyboard.shrinkView(true);
Keyboard.disableScrollingInShrinkView(true);
Keyboard.hideFormAccessoryBar(true);}
I also tryed to put in my-app,js but nothing change.
My project:
Android version: android 7.1.1
Cordova version: cordova 8.1.2