mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 23:22:06 -05:00
Merge pull request #257 from brecert/no-send-composing
This commit is contained in:
commit
6407f3b924
1 changed files with 21 additions and 20 deletions
|
@ -523,6 +523,7 @@ export default observer(({ channel }: Props) => {
|
||||||
|
|
||||||
if (
|
if (
|
||||||
!e.shiftKey &&
|
!e.shiftKey &&
|
||||||
|
!e.isComposing &&
|
||||||
e.key === "Enter" &&
|
e.key === "Enter" &&
|
||||||
!isTouchscreenDevice
|
!isTouchscreenDevice
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue