I limited the height of the web page to 100%, and absolutely positioned an input box at the bottom,
In Safari on iOS, when you click on the input box, the virtual keyboard can pop up and push the entire page up, but at least the input box is above the keyboard and can be seen.
But if the keyboard pops up through the focus of js, the keyboard will directly cover up part of the content at the bottom of the page, and the input box will be invisible. Why is focusing different from directly clicking on the input box? How to solve it? Does anyone know?
学习是最好的投资!