Исправить размер Textarea
resize: none;
Agreeable Alpaca
resize: none;
function autoResize() {
console.log('resizing');
textInput.style.height = (textInput.scrollHeight) + 'px';
}
$('textarea').each(function () {
this.setAttribute('style', 'height:' + (this.scrollHeight) + 'px;overflow-y:hidden;');
}).on('input', function () {
this.style.height = 'auto';
this.style.height = (this.scrollHeight) + 'px';
});