$(document).ready(function(){
init();
/处理安卓输入框遮挡问题/
if(/Android [4-6]/.test(navigator.appVersion)) {
window.addEventListener(“resize”, function() {
if(document.activeElement.tagName==“INPUT” || document.activeElement.tagName==“TEXTAREA”) {
window.setTimeout(function() {
document.activeElement.scrollIntoViewIfNeeded();
},0);
}
})
};
})
处理安卓输入框遮挡问题
最新推荐文章于 2024-05-29 20:48:32 发布