Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[base-ui] Textarea POC #41005

Closed
wants to merge 9 commits into from
Closed

Conversation

mj12albert
Copy link
Member

@mj12albert mj12albert commented Feb 8, 2024

  • Is there any point to composing this with a root div and a subcomponent instead of just <Textarea>? If we don't need adornments, the only other difference it makes is we may not need to use a Fragment to contain the hidden textarea

  • I re-used the Textbox (root) from [base-ui] POC: Input using component-per-node pattern #40893 to speed this up, but I wonder if we should reuse it more (e.g. for the NumberInput root)

  • Is there a point to extracting a hook out of TextareaAutosize?

  • Some features - e.g. the focused state - was previously provided by useInput, it'll need to be reimplemented here

  • I have followed (at least) the PR section of the contributing guide.

@mj12albert mj12albert added package: base-ui Specific to @mui/base proof of concept Studying and/or experimenting with a to be validated approach labels Feb 8, 2024
@mui-bot
Copy link

mui-bot commented Feb 8, 2024

Netlify deploy preview

Bundle size report

Bundle size will be reported once CircleCI build #650196 finishes.

Generated by 🚫 dangerJS against dcfc3a6

@mj12albert mj12albert closed this Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: base-ui Specific to @mui/base proof of concept Studying and/or experimenting with a to be validated approach
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants