You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
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.
Another issue is that the textarea only increases in size: when text is removed, it does not become smaller again.
Test suite:
<textarea cols="40" rows="8" name="textmsg" id="textmsg">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.</textarea>
@toddparker, I missed that. However, note that it does not address a related issue where the textarea does not shrink in size when text is removed ("Another issue is that the textarea only increases in size: when text is removed, it does not become smaller again.").
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.
Another issue is that the textarea only increases in size: when text is removed, it does not become smaller again.
Test suite:
<textarea cols="40" rows="8" name="textmsg" id="textmsg">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.</textarea>
Demo: http://jsbin.com/amofux/5/edit#preview
The text was updated successfully, but these errors were encountered: