limit textarea max rows

This commit is contained in:
Andrei Canta 2023-03-21 23:08:20 +02:00
parent e86fd6772e
commit d0f7c5bb72

View file

@ -277,6 +277,7 @@ export function ChatRoute() {
autoFocus
disabled={submitting}
minRows={1}
maxRows={5}
value={content}
onChange={(event) => setContent(event.currentTarget.value)}
onKeyDown={async (event) => {