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 was archived by the owner on Sep 5, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
RC4: Rows attribute doesn't resize textarea when no content #5751
+1, very confusing, as you'd expect rows="5" to allocate 5 empty rows.
This is essential since you sometimes want to show a big empty textarea so the user gets that they can put in a long message.
Activity
fix(textarea): fix textarea grow
devversion commentedon Nov 16, 2015
Yeah.
Here is again my second fix for the textarea, this one should work better.
fix(textarea): fix textarea grow
fix(textarea): fix textarea grow
ndraiman commentedon Feb 14, 2016
temporary "hack":
fill your binded model with '\n' for the amount of rows you want.
html:
<textarea required name="message" ng-model="contactDetails.message" rows="5"></textarea>js (controller):
alexilyaev commentedon Apr 12, 2016
+1, very confusing, as you'd expect
rows="5"to allocate 5 empty rows.This is essential since you sometimes want to show a big empty textarea so the user gets that they can put in a long message.
EladBezalel commentedon Apr 18, 2016
@devversion take a look
ThomasBurleson commentedon Apr 28, 2016
This issue is closed as part of our deprecation effort.
For details, see our post Spring Cleaning 2016.