July 22, 2009
5:15 am

When composing a long message in a web app, you really want to see as much of your draft as possible and make use of all the available screen space. This post shares a simple JavaScript solution for textareas that automatically grow (vertically) to the size of the content. They make composing long messages much easier and, for all those iPhone users out there, takes away the need to scroll with the dreaded magnifying glass! Google’s working on getting this into Gmail for mobile but here’s how it’s call: <textarea id="growingTextarea" onkeyup="grow();"></textarea>


Full ArticleCode Blog

Loading

Contextual Related Posts:

No followup yet

Leave a Response

Comment Preview
« Google Docs inching closer to Google DriveGoogle Waves sending 100,000 invites »
Feed Icon

Subscribe via RSS or email: