Fix: Don't lose focus on send.

Sidebar: Show home button on mobile.
This commit is contained in:
Paul
2021-07-10 11:21:05 +01:00
parent c993ece109
commit e15dd408ec
3 changed files with 28 additions and 20 deletions

View File

@@ -501,7 +501,9 @@ export default function MessageBox({ channel }: Props) {
{/*<IconButton onClick={emojiPicker}>
<HappyAlt size={20} />
</IconButton>*/}
<IconButton className="mobile" onClick={send}>
<IconButton
className="mobile" onClick={send}
onMouseDown={e => e.preventDefault()}>
<Send size={20} />
</IconButton>
</Action>