i’d like to duplicate the way that most native messaging apps handle the text input field…that is to say when there’s only one line of text the input field is simply one line like so:
and then once you type more than one line of text in, it expands to multiple lines like this:
it usually stops at 3 lines and allows the user to scroll through any additional lines.
i have a fiddle of a similar concept, http://jsfiddle.net/2UDdh/55/, but i fear this is incredibly inefficient and would kill performance on phones. is this possible any other way?