You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Textarea in Knobs addon does not have a height, which makes a huge text area when passing big arrays.
To Reproduce
Create a object or text knobs and pass a big array of data to it.
Expected behavior
Maybe a 10 or 20 line default height would be great (200 - 400px according to hardcoded line-height).
Code snippets /lib/components/src/form/input/input.tsx line148
I'm not used to TypeScript but I believe adding a height : 200 at this line would solve this.
Or maybe it would just make all textarea 200px by default no matter the content?
If so maybe a maxHeight of 400 - 600 would be good anyway it does not make sense to be bigger than that does it?
I know there was an issue about that in the near past that the bot closed ( Issue 8192 ) but I believe this is a simple fix that would benefit all big data knobs users
The text was updated successfully, but these errors were encountered:
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!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!
Describe the bug
Textarea in Knobs addon does not have a height, which makes a huge text area when passing big arrays.
To Reproduce
Create a object or text knobs and pass a big array of data to it.
Expected behavior
Maybe a 10 or 20 line default height would be great (200 - 400px according to hardcoded line-height).
Code snippets
/lib/components/src/form/input/input.tsx line148
I'm not used to TypeScript but I believe adding a height : 200 at this line would solve this.
Or maybe it would just make all textarea 200px by default no matter the content?
If so maybe a maxHeight of 400 - 600 would be good anyway it does not make sense to be bigger than that does it?
System:
I know there was an issue about that in the near past that the bot closed ( Issue 8192 ) but I believe this is a simple fix that would benefit all big data knobs users
The text was updated successfully, but these errors were encountered: