twilio-labs / paste

Paste is a design system for designing and building consistent experiences at Twilio.
https://paste.twilio.design
MIT License
440 stars 114 forks source link

Textarea - Height not customizable #4064

Open fred-croix opened 6 days ago

fred-croix commented 6 days ago

Description

When attempting to customize the height of the textarea widget, the height is forcibly set to 76px using 76px !important. This prevents users from adjusting the height to their desired value, such as 16px for a single-line textarea.

Link to Reproduction

https://paste.twilio.design/components/textarea

Paste Core Version

20.15.0

Browser

Chrome, Firefox

Operating System

Additional Information

No response

dosubot[bot] commented 6 days ago

I found related issues that might be helpful:

serifluous commented 23 hours ago

Hey @fred-croix ! You can set a max height on Textarea using the maxRows prop: https://paste.twilio.design/components/textarea#resizable-textarea

Let us know if that helps solve your issue.