处理Android键盘覆盖input和textarea框的问题

        $(window).resize(function(){
            $('input[type="text"],textarea').on('click', function () {
            var target = this;
            setTimeout(function(){
                    target.scrollIntoViewIfNeeded();
                    // console.log('scrollIntoViewIfNeeded');
                },400);
            });         
        });

  

原文地址:https://www.cnblogs.com/cx709452428/p/10225592.html