Resolved before
Resolved
<! - when the soft keyboard to prevent the tone from the bottom of the content will be squeezed -> <script type="text/javascript"> // get the original window height var originalHeight = document.documentElement.clientHeight || document.body.clientHeight; window.onresize = function() { // hide the soft keyboard pops up and will cause a change in the height of the window var resizeHeight = document.documentElement.clientHeight || document.body.clientHeight; if (resizeHeight * 1 <originalHeight * 1) {// resizeHeight <originalHeight proof window is squeezed plus.webview.currentWebview().setStyle({ height: originalHeight }); } } </script> ———————————————— Disclaimer: This article is the original article CSDN bloggers "CherryLee_1210", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement. Original link: https: //blog.csdn.net/cherrylee_1210/article/details/83787860