fregante / fit-textarea

Automatically expand a <textarea> to fit its content, in a few bytes
https://npmjs.com/fit-textarea
MIT License
78 stars 2 forks source link

Manual resizing issue #9

Closed chrisblossom closed 3 years ago

chrisblossom commented 5 years ago

If you manually resize the text window (github comments) and interact with the textbox, the textbox automatically resizes to the original size. If I manually resize the box I not want it to be automatically resized back to the previous size.

2019-07-16 11 19 52

fregante commented 5 years ago

That’s a good one. Manual resizing affects the same CSS property (height) so to fix this I should probably use min-height or the rows attribute instead