📜 ⬆️ ⬇️

Textarea dynamic height for comments

I think my proposal should be clear already from the title of the post, however, I will describe it in a little more detail and try to justify it.

Comments often carry with them no less or even more value in relation to the posts that initiated them (especially after repressing "plus-addicts" on Habré :) The potential content of comments implies their possible bulk, which was the cause of my proposal. The bottom line is that inside a text box about three lines in height, it is extremely inconvenient to write your own review if it is longer than the average SMS text message.

The most beautiful way to solve the problem, as it seems to me, was a solution a la Google Notebook. For those who do not know, the fields for text notes in its interface dynamically increase their height as new lines are added. Due to this, the entire text of the note is always (up to certain limits, of course) visible on the screen, which saves the user from scrolling and makes his life beautiful and amazing.

')

Source: https://habr.com/ru/post/11064/


All Articles