diff --git a/src/assistant/Conversations/ConversationBar.jsx b/src/assistant/Conversations/ConversationBar.jsx index eb7222c129..69c4336b50 100644 --- a/src/assistant/Conversations/ConversationBar.jsx +++ b/src/assistant/Conversations/ConversationBar.jsx @@ -95,9 +95,15 @@ const ConversationBar = ({ assistantStatus }) => { ), onKeyDown: ev => { - if (!isMobile && ev.key === 'Enter') { - ev.preventDefault() // prevent form submit - handleClick() + if (!isMobile) { + if (ev.shiftKey && ev.key === 'Enter') { + return ev + } + + if (ev.key === 'Enter') { + ev.preventDefault() // prevent form submit + return handleClick() + } } } }