<script type="text/javascript">
//防止键盘把当前输入框给挡住
$('input,textarea').on('click', function () {
console.log('2222');
var target = this;
setTimeout(function(){
target.scrollIntoViewIfNeeded();
},100);
});
</script>
移动端中 H5输入框在弹起键盘后被遮挡
猜你喜欢
转载自blog.csdn.net/u013288190/article/details/84944903
今日推荐
周排行