Textarea - Growing height as content grows #8517
enriquemorenotent
started this conversation in
General
Replies: 1 comment 1 reply
-
|
just don't put a fixed height on the textarea |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that on the website, the textarea automatically expands as its content grows:
Screencast.from.2025-10-20.16-32-53.webm
However, when I try to reproduce this behavior locally, the textarea keeps a fixed height and shows a scrollbar instead.
Could someone clarify how this auto-growing behavior is implemented on the site?
Is it part of the shadcn/ui system itself, or does it rely on an external library or custom code? If external, which one?
Beta Was this translation helpful? Give feedback.
All reactions