jquery/jquery-mobile — Issue #2651: Textarea does not size when it is assigned a default value
Author: tommedema
Created: 2011-10-09 18:21:34+00:00
State: open

Platforms: Chrome, Firefox, Android browser, probably any

Issue: a textarea is supposed to size automatically, removing the need for a scrollbar. However, it does not size on startup when a default value is assigned to a textarea. It only starts sizing when you type something.

Test suite:

I am text. When you type here, the textarea will start sizing automatically as expected. However it does not do so without typing when a default value is set, like this text. I am text. When you type here, the textarea will start sizing automatically as expected. However it does not do so without typing when a default value is set, like this text.I am text. When you type here, the textarea will start sizing automatically as expected. However it does not do so without typing when a default value is set, like this text.I am text. When you type here, the textarea will start sizing automatically as expected. However it does not do so without typing when a default value is set, like this text.I am text. When you type here, the textarea will start sizing automatically as expected. However it does not do so without typing when a default value is set, like this text.I am text. When you type here, the textarea will start sizing automatically as expected. However it does not do so without typing when a default value is set, like this text.