Add CTRL + ENTER to force send message.

Fix: cursor jumping to the end of message area.
Fix: inconsistent message send button on mobile.
This commit is contained in:
Paul
2021-08-30 18:01:32 +01:00
parent 648f0bbf73
commit 08c963e715
5 changed files with 36 additions and 19 deletions

View File

@@ -37,9 +37,11 @@ export default styled.div<Props>`
padding: 0 12px;
}*/
@media (pointer: coarse) {
height: 56px;
}
${() =>
isTouchscreenDevice &&
css`
height: 56px;
`}
${(props) =>
props.background &&