$(window).resize(function(){ $(‘input[type="text"],textarea‘).on(‘click‘, function () { var target = this; setTimeout(function(){ target.scrollIntoViewIfNeeded(); // console.log(‘scrollIntoViewIfNeeded‘); },400); }); });
2022-09-29 09:13:45
$(window).resize(function(){ $(‘input[type="text"],textarea‘).on(‘click‘, function () { var target = this; setTimeout(function(){ target.scrollIntoViewIfNeeded(); // console.log(‘scrollIntoViewIfNeeded‘); },400); }); });