From d4a11119744e84516fec9ed78f494d8260daba48 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 19 Aug 2024 18:43:49 -0300 Subject: [PATCH] fix: remove autosize on textArea inside nodes (#3436) refactor: Update rows prop in TextAreaComponent to always be 1 --- src/frontend/src/components/textAreaComponent/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/textAreaComponent/index.tsx b/src/frontend/src/components/textAreaComponent/index.tsx index 2894c2a13..9999d624d 100644 --- a/src/frontend/src/components/textAreaComponent/index.tsx +++ b/src/frontend/src/components/textAreaComponent/index.tsx @@ -39,7 +39,7 @@ export default function TextAreaComponent({ "w-full", "resize-none", )} - rows={Math.min(3, value.split("\n").length)} + rows={1} placeholder={"Type something..."} onChange={(event) => { onChange(event.target.value);