-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[core] feat(TextArea): new autoResize
prop allows input to shrink vertically
#6306
Conversation
Fix formattingBuild artifact links for this commit: documentation | landing | table | demoThis is an automated comment from the deploy-preview CircleCI job. |
Discussed a bit on Slack, but I think a better approach would be to name this new prop
|
oh, and also, there are some tests for this component. I'll admit the resizing & scroll behavior is a bit finicky to test (see #5976), but could you take a stab at testing this new behavior anyway? |
Deprecated growVertically prop and added testsBuild artifact links for this commit: documentation | landing | table | demoThis is an automated comment from the deploy-preview CircleCI job. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll push a commit to restore support for growVertically
autoResize
prop allows input to shrink vertically
fix test commentsBuild artifact links for this commit: documentation | landing | table | demoThis is an automated comment from the deploy-preview CircleCI job. |
Checklist
Changes proposed in this pull request:
Add a
fitToContent: boolean
prop to TextArea component to allow for more granularity control over vertical resizing whengrowVertically
is enabled.Before:
After: