After the soft keyboard of ios Wechat browser was put away, the position of the soft keyboard was not taken back, and the html,body, was 100% useless.

after the ios Wechat browser soft keyboard is put away, the position of the soft keyboard is not taken back, and the html,body, is 100% useless. The
yellow line is body, red. How can I take this position back if html
?
this problem causes fixed button clicks to fail

Jan.11,2022

add a style to body when the soft keyboard is put away.


have you solved the problem? I have the same problem now, but it's not Apple. It's Huawei Honor High-end computer.


I can't find the link. Why don't you mark it as original?

//bug CSDNyanhailun
function resolveIosBug(e){
    setTimeout(function(){
        // alert(1);
        if(document.activeElement.tagName == 'INPUT' || document.activeElement.tagName == 'TEXTAREA'){
            return
        }
        let result = 'pc';
        if(/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) { //iPhone|iPad|iPod|iOS
            result = 'ios'
        }else if(/(Android)/i.test(navigator.userAgent)) {  //Android
            result = 'android'
        }
        if(result = 'ios'){
            document.activeElement.scrollIntoViewIfNeeded(true);
        }
    },10)
}
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-1b42195-2c5ff.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-1b42195-2c5ff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?