Open clarkk opened 7 years ago
you could get some inspiration from this https://github.com/sdecima/javascript-detect-element-resize
I know this old, but autogrow works when resize to smaller window. But when resize to bigger window, textarea still big
started
first move to small screen
moved to big screen
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/