Open fred-croix opened 6 days ago
I found related issues that might be helpful:
https://github.com/twilio-labs/paste/discussions/3626#discussioncomment-7859149 Thanks for attending Office Hours. Here's the recording: https://www.loom.com/share/92caae62a76a4406803a96bbef004eb2?sid=511761b4-f354-4925-afa9-12b51ff33e6e (password in Slack). As discussed in the session with your designer, please position the popover to the right of the button. This will give your popover more room to grow and not cut off the bottom quite so badly. The max rows fix is in our backlog, it'll land sometime in January most likely, but as we discussed, if you position the popover to the right, you might not even need it.
https://github.com/twilio-labs/paste/discussions/700#discussioncomment-58795 Hey @elainelylee! Great question. Our textarea component doesn't allow for this right now, but this use case makes a lot of sense, so we've added a ticket to the backlog to support it: https://issues.corp.twilio.com/browse/DSYS-2237. What's your timeline for this work?
https://github.com/twilio-labs/paste/discussions/1569#discussioncomment-875069 Hi @HartiganHM. That looks like a tricky one. Sorry for the troubles. I just setup a CodeSandbox using TextArea and it looks like its showing the height as expected: https://codesandbox.io/s/solitary-microservice-7tv7l?file=/src/index.tsx. Can you share any other information about your implementation so we can help troubleshoot. Thanks!
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.
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