fix: remove autosize on textArea inside nodes (#3436)
refactor: Update rows prop in TextAreaComponent to always be 1
This commit is contained in:
parent
4c496496e5
commit
d4a1111974
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue