Skip to content

Conversation

spruce
Copy link

@spruce spruce commented Jun 14, 2025

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 #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

Copy link

changeset-bot bot commented Jun 14, 2025

🦋 Changeset detected

Latest commit: e9b9750

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

Copy link

vercel bot commented Jun 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
design-system Ready Ready Preview Comment Sep 3, 2025 6:33am

@spruce
Copy link
Author

spruce commented Jun 19, 2025

@simotae14 Could you check this PR?

@simotae14
Copy link
Contributor

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.

@Adzouz Adzouz self-assigned this Aug 28, 2025
@Adzouz Adzouz added pr: fix This PR is fixing a bug source: design-system relates to design-system package labels Aug 28, 2025
@Adzouz
Copy link
Contributor

Adzouz commented Aug 28, 2025

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 🚀

@lucasboilly
Copy link
Contributor

@Adzouz could we make it possible to disable resizing?

@Adzouz
Copy link
Contributor

Adzouz commented Aug 28, 2025

@Adzouz could we make it possible to disable resizing?

Done ✅

@spruce
Copy link
Author

spruce commented Aug 29, 2025

Nice. Works as I need it. Thank you very much. 👍

@lucasboilly
Copy link
Contributor

Well done @spruce 👌

@Adzouz
Copy link
Contributor

Adzouz commented Sep 2, 2025

Can one of you @jhoward1994 or @butcherZ can take a look at this one please? 🙏

spruce and others added 5 commits September 3, 2025 08:32
As described in strapi#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fix This PR is fixing a bug source: design-system relates to design-system package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat]: Textarea should be able to resized vertical
4 participants