mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-12-04 02:36:28 +01:00
Fix send messages on android
This commit is contained in:
parent
3f69ea167d
commit
1c230028b0
@ -155,8 +155,9 @@ export const ChatInputView: FC<{}> = props =>
|
|||||||
|
|
||||||
const value = (event.target as HTMLInputElement).value;
|
const value = (event.target as HTMLInputElement).value;
|
||||||
|
|
||||||
switch(event.code)
|
switch(event.key)
|
||||||
{
|
{
|
||||||
|
case ' ':
|
||||||
case 'Space':
|
case 'Space':
|
||||||
checkSpecialKeywordForInput();
|
checkSpecialKeywordForInput();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user