The input box of H5 page in iOS is located at the bottom, and it is obscured by virtual keyboard when getting focus.

iOS H5 page input box is located at the bottom, the focus is blocked by the virtual keyboard, on the Internet to check a variety of methods, 8plus no problem, with 6s to try a lot of methods, not very effective, have not done the god, help, thank you very much!

Jan.11,2022

https://blog.csdn.net/DeepLie.


We can calculate the soft keyboard height when the soft keyboard pops up, and then set the input box {position: fixed; bottom: {soft keyboard height}} to achieve our goal. Calculate IOS soft keyboard height IOS device to get soft keyboard height

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4bac9-43dc9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4bac9-43dc9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?