新版本微信导致的ios表单bug

解决方法如下:

$(document).delegate('input, textarea, select', 'blur', function(){
   setTimeout(function(){
       $('html').animate({height: '100.1vh'}, 100, function(){
             $(this).animate({height: '100vh'}, 1)
       })
   },100);
});

猜你喜欢

转载自www.cnblogs.com/qdlhj/p/10336764.html
今日推荐