base-ui icon indicating copy to clipboard operation
base-ui copied to clipboard

[textarea] Implement TextArea component

Open colmtuite opened this issue 1 year ago • 2 comments

The primary motivation here is to reduce the amount of render props required in forms. We'll also handle auto-resizing.

To consider:

  • https://github.com/mui/material-ui/issues/43719

Search keywords:

colmtuite avatar Oct 07 '24 09:10 colmtuite

Feature request: Support minHeight in px as well as minRows. This is a popular feature request in the react-textarea-autosize library: https://github.com/Andarist/react-textarea-autosize/issues/314

martenbjork avatar May 10 '25 09:05 martenbjork

  • Does it need to support rendering as <div contenteditable/>? I think it's not compatible with the constraint validation API though
  • How about an (optional) character count part or is that out of scope for textarea
  • Work on CSS field-sizing has begun in Firefox and already shipped in Safari Technology Preview
  • Should it do anything about the (default) scrollbars, or leave it to the user to use it together with ScrollArea

mj12albert avatar May 30 '25 03:05 mj12albert

Any update on when this will be available?

observstream avatar Aug 12 '25 21:08 observstream

I can be assigned to this one if possible!

Jacksonmills avatar Oct 03 '25 02:10 Jacksonmills