ro31337 / jquery.ns-autogrow

Automatically adjust textarea width/height based on user input. Non-sucking version.
http://bit.ly/1NeshO8
166 stars 49 forks source link

on textarea resize #17

Open clarkk opened 7 years ago

clarkk commented 7 years ago

I you have a responsive website and the textarea changes size, its no longer working

The "shadow" keeps the origin size.. And it would be nice if the shadow was removed from the DOM if the textarea was :)

https://jsfiddle.net/dspv6qv5/1/

clarkk commented 7 years ago

you could get some inspiration from this https://github.com/sdecima/javascript-detect-element-resize

clarkk commented 7 years ago
scorninpc commented 5 years ago

I know this old, but autogrow works when resize to smaller window. But when resize to bigger window, textarea still big