-
Notifications
You must be signed in to change notification settings - Fork 95
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
fix(form-control): added vars for textarea width/height for resizing #3883
Conversation
Preview: https://patternfly-pr-3883.surge.sh
A11y report: https://patternfly-pr-3883-coverage.surge.sh |
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.
@mattnolting when we initially introduced the resize modifiers in #2251 (comment), we decided not to impose any limitations on the ability to resize the width/height with the default textarea. It could also be considered a breaking change to do that at this point. |
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.
LGTM 👍
@mcoker yes, this should be sufficient to autosize the textarea based on the scrollWidth/scrollHeight . |
🎉 This PR is included in version 4.89.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fixes #3837
Allows textarea to be resized via
--pf-c-form-control--textarea--Width
and--pf-c-form-control--textarea--Height
@tlabaj can you let me know if this is enough to support autosize/resize?