My request is small and since I have no javascript knowledge... yet. I'd like to ask how I could get the auto expand feature to expand only on extra row. So it will only expand once I have text in the last available row. And only expand one additional row each time.

Comments

yngens’s picture

I second this request. One row would be fair enough, but ideally should be settable.

yngens’s picture

I noticed var count = lines.length; in function resizeTextarea(textarea) and wonder why hight of textarea should be calculated according to the length of the lines? IMHO, textarea height should be calculated according to the number of entered lines or current height only, regardless how long or short is any line.

walker2238’s picture

Status: Active » Closed (fixed)

This issue is old... If you still want an expanding textarea I suggest you check out electic. It's a jquery plugin...