Can a textarea adapt it's height while inserting text?
I want to hide the textarea's borders, so that users feel they'r typing in an unlimited space.
(The textarea's height should be increased by height of one line when a new line starts)
One way I guessed, is to; copy all texts into a div with same width on each keystroke, then measure the height of the div, then set the div's height for textarea.
One problem I noticed, is scroll bars width that should be subtracted from main width, and on different devices we have 0 to 16px variable scroll bar width..., any suggestions?