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

Add shrink option #19

Closed gillyb closed 9 months ago

gillyb commented 7 years ago

This adds the ability to shrink the textarea beyond it's original height. It will shrink it up to the height of a single line height.

ro31337 commented 7 years ago

Looks fantastic! I'll come back home, check and merge. If you have time, can you update demo? https://github.com/ro31337/jquery.ns-autogrow/blob/master/demo/index.html

gillyb commented 7 years ago

Sure, but I'm too afk, so when I get home I will

On Jun 29, 2017 11:53 PM, "Roman Pushkin" notifications@github.com wrote:

Looks fantastic! I'll come back home, check and merge. If you have time, can you update demo? https://github.com/ro31337/jquery.ns-autogrow/blob/ master/demo/index.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ro31337/jquery.ns-autogrow/pull/19#issuecomment-312105707, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQiTqYYIfwBtz5xqbkTWPua6kg4hrBoks5sJA7jgaJpZM4OJ0Dk .

gillyb commented 7 years ago

@ro31337 I added a working example (which led me to finding a minor bug, so fixed it as well)