jackmoore / autosize

Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.
http://www.jacklmoore.com/autosize/
MIT License
5.1k stars 702 forks source link

Freezing when typing #403

Closed mjancovic closed 1 year ago

mjancovic commented 1 year ago

This fix changes the height of the text area more effectively. The result is the efficient use of other components on the website.

Related to the issue https://github.com/jackmoore/autosize/issues/346

jackmoore commented 1 year ago

Hi, thanks for the PR. I wasn't comfortable enough with these changes to merge this, but I made an update just now (v6.0.1) to improve performance in some situations.