diff --git a/frontend/src/components/MessageInputCustom/index.js b/frontend/src/components/MessageInputCustom/index.js index 46ae73e..1941421 100644 --- a/frontend/src/components/MessageInputCustom/index.js +++ b/frontend/src/components/MessageInputCustom/index.js @@ -446,6 +446,12 @@ const CustomInput = (props) => { multiline className={classes.messageInput} maxRows={5} + onKeyDownCapture={(e) => { + if (e.key === 'ArrowUp' || + e.key === 'ArrowDown' + ) + e.stopPropagation(); + }} /> ); }}