Skip to content
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

Form/textarea maxHeight : 400 #9860

Merged
merged 7 commits into from
Mar 16, 2020

Conversation

Raphe-dev
Copy link
Contributor

Issue: 9849

What I did

Add a maxHeight of 20 lines (400px) to the textarea form component to avoid infinite textarea with big data.

@ndelangen
Copy link
Member

I think it's a good default, should probably be configurable though via a prop.

Do you think you could add that? 👍

@Raphe-dev
Copy link
Contributor Author

Yeah I believe it should be configurable too ( eg: on a 4k screen 20 lines can be quite small ), I should have some time later this week to look into that.

@stale
Copy link

stale bot commented Mar 11, 2020

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Mar 11, 2020
@ndelangen ndelangen self-assigned this Mar 16, 2020
@stale stale bot removed the inactive label Mar 16, 2020
@ndelangen ndelangen merged commit 181fcda into storybookjs:next Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants