Skip to content

Commit 5964fb2

Browse files
committed
fix(textarea): Use correct prop for minRows in autosized textarea
1 parent c947de4 commit 5964fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/components/core/textarea/textarea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function TextAreaControl({
3434
...p
3535
}: TextAreaProps) {
3636
return autosize ? (
37-
<TextareaAutosize {...p} ref={ref} rows={rows} maxRows={maxRows} />
37+
<TextareaAutosize {...p} ref={ref} minRows={rows} maxRows={maxRows} />
3838
) : (
3939
<textarea ref={ref} {...p} rows={rows} />
4040
);

0 commit comments

Comments
 (0)