base-ui
base-ui copied to clipboard
[textarea] Implement TextArea component
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:
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
- 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-sizinghas 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
Any update on when this will be available?
I can be assigned to this one if possible!