diff --git a/app/soapbox/features/chats/components/chat_window.js b/app/soapbox/features/chats/components/chat_window.js index af9f9bcee..e1c67a2b2 100644 --- a/app/soapbox/features/chats/components/chat_window.js +++ b/app/soapbox/features/chats/components/chat_window.js @@ -63,6 +63,7 @@ class ChatWindow extends ImmutablePureComponent { if (e.key === 'Enter') { this.props.dispatch(sendChatMessage(chatId, this.state)); this.setState({ content: '' }); + e.preventDefault(); } }; } @@ -134,9 +135,9 @@ class ChatWindow extends ImmutablePureComponent {
-
- +