Topic on Talk:MoodBar/Design

Auto-sizing comment field

2
Trevor Parscal (WMF) (talkcontribs)

The comment field in the mockups appears to be smaller until it's required to be larger, and this would appear to be done automatically. I think that since the message is limited to a fixed length of characters, the initial and only size of the textarea should accomodate that amount of text (on average, since typing 140 "W"s takes more space than 140 "i"s using a variable width font). Twitter initially collapses their textarea (presumably to conserve screen space) but enlarges it on focus. Identica present the user with a textbox that is initially large enough to fit an average 140 character message, and it does not resize at all. Initially presenting the user with a textbox that can handle 3 to 4 rows of text also sets the users's initial expectation of how long the message is allowed to be - encouraging them to be more verbose, which hopefully translates into more specific and descriptive.

This post was posted by Trevor Parscal (WMF), but signed as Trevor Parscal.

Jorm (WMF) (talkcontribs)

You know, the use of an auto-sizing text box there is pretty much an artifact of having a text box construct pre-made so yeah, it should probably be locked at a specific size. Having it start small and enlarge on focus may be interesting but it's still a very small amount of text and screen real estate so I'm not sure what benefit would be gained by that (I normally dislike having things move around on the screen when it's unexpected).

I'm far more concerned with the character count tool not being implemented. That's a much bigger problem than the text field size.

Reply to "Auto-sizing comment field"