At the end of the found fixed at the bottom of the button in the page call input method will be top up, many tests found just above the android, I heard that iOS will sometimes, but did not meet, the last method is not to set the bottom fixed absolute positioning, directly using the calculation clientheight to determine the bottom position, Simply put the bottom up to a fixed position,
Here is the HTML
<! DOCTYPE html>It is important to set height:100% for HTML and body, mainly to open the height,
Here is the JS
$ (window). Resize (function () { var height=document.body.clientheight-+ +" px"; $ (". Main"). CSS ("height", height) });
For good results, it is necessary to set an initial position or height for the base or main,
The above implementation is very simple, I feel mainly the transformation of thinking.
The solution to the bottom of the mobile end is input method