diff --git a/src/components/InputBox/index.jsx b/src/components/InputBox/index.jsx index 1227628..79b5fdc 100644 --- a/src/components/InputBox/index.jsx +++ b/src/components/InputBox/index.jsx @@ -11,6 +11,7 @@ export function InputBox({ onSubmit, enabled }) { }) const onKeyDown = (e) => { + e.stopPropagation() if (e.keyCode === 13 && e.shiftKey === false) { e.preventDefault() if (!value) return