W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

Re: [csswg-drafts] [css-sizing] Please add vertical auto-resize textarea field

From: Rachel Andrew via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Feb 2018 19:04:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-365710958-1518635044-sysbot+gh@w3.org>
> What happens with placeholders? If they wrap, does the textarea shorten when you start typing?

I think preserve the space even when they are not visible. It would seem odd behaviour as a user to focus the element and it suddenly shrink.

> What happens when the textarea is empty? You should always assume at least one line, right?

I agree, I can't think of any use case where you would want it to go to 0 even if min-content was actually 0, and handling that with min-height and the UA stylesheet sounds sensible as per @fantasai 's comment.

-- 
GitHub Notification of comment by rachelandrew
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2141#issuecomment-365710958 using your GitHub account
Received on Wednesday, 14 February 2018 19:04:09 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC