解决webview上移

//解决webview上移
$(".webView").blur(function() {
setTimeout(function() {          
var scrollHeight = document.documentElement.scrollTop || document.body.scrollTop || 0;          
window.scrollTo(0, Math.max(scrollHeight - 1, 0));       
}, 100);
})

 

posted on 2019-03-26 10:04  托尼-斯塔克  阅读(248)  评论(0编辑  收藏  举报

导航