-
Notifications
You must be signed in to change notification settings - Fork 8
Add autoGrow to TextArea so the size fits the content
#964
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
Conversation
Hello chengyanjin,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
288c01b to
faf1cea
Compare
faf1cea to
402f6bd
Compare
| // Adjust height on mount to fit initial content | ||
| useEffect(() => { | ||
| adjustHeight(); | ||
| }, []); |
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.
Seems that this autoGrow implementation is not reacting to any value change.
It should be able to work when the textearea is acting as a controlled component or not.
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
|
I have successfully merged the changeset of this pull request
Please check the status of the associated issue None. Goodbye chengyanjin. |
Component: TextArea
Description:
Design:
Breaking Changes:
Closes: #ISSUE_NUMBER