fix: remove autosize on textArea inside nodes (#3436)

refactor: Update rows prop in TextAreaComponent to always be 1
This commit is contained in:
anovazzi1 2024-08-19 18:43:49 -03:00 committed by GitHub
commit d4a1111974
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);