design-system
design-system copied to clipboard
Allow vertically resizing Textarea
What does it do?
Changed the height attribute to min-height and allowed the textarea to be resized.
Why is it needed?
As described in https://github.com/strapi/design-system/issues/1916 it would be nice to resize Textareas for better editing. In a later PR it would be nice to add the ability to specify another min-height's for each textarea input
How to test it?
Create a new multiline text input in any entity and then go to the content view of that entity and see that the textarea is resizeable
Related issue(s)/PR(s)
Fixes #1916
🦋 Changeset detected
Latest commit: 37bb24d47b7010969b257b2a798473e3aea20ced
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 3 packages
| Name | Type |
|---|---|
| @strapi/design-system | Patch |
| @strapi/icons | Patch |
| @strapi/ui-primitives | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| design-system | Preview | Comment | Sep 23, 2025 7:45am |
@simotae14 Could you check this PR?
Hi @spruce, thank you so much for your contribution. Please do not tag anyone directly, it is better to let everyone in the team choose your PR and check your work. About this PR, give me some time to discuss it with my colleagues if we want to introduce this possibility in our DS.
I will let you know about our decision. Thank you.
Hey @spruce, thanks a lot for your contribution. I made a little adjustment to the PR after checking on the storybook. Feel free to give it a try. It was validated with the designers, moving forward and waiting for the review to merge it 🚀
@Adzouz could we make it possible to disable resizing?
@Adzouz could we make it possible to disable resizing?
Done ✅
Nice. Works as I need it. Thank you very much. 👍
Well done @spruce 👌
Can one of you @jhoward1994 or @butcherZ can take a look at this one please? 🙏