diff --git a/src/components/room/widgets/chat-input/ChatInputView.tsx b/src/components/room/widgets/chat-input/ChatInputView.tsx index e97c5550..f21fdc51 100644 --- a/src/components/room/widgets/chat-input/ChatInputView.tsx +++ b/src/components/room/widgets/chat-input/ChatInputView.tsx @@ -155,8 +155,9 @@ export const ChatInputView: FC<{}> = props => const value = (event.target as HTMLInputElement).value; - switch(event.code) + switch(event.key) { + case ' ': case 'Space': checkSpecialKeywordForInput(); return;