mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-08 18:48:18 +01:00
re-focus composer when clicking send button
This commit is contained in:
parent
a04a6a83be
commit
b2e6310775
@ -40,6 +40,7 @@ export class MessageComposer extends TemplateView {
|
||||
}
|
||||
|
||||
_trySend() {
|
||||
this._input.focus();
|
||||
if (this.value.sendMessage(this._input.value)) {
|
||||
this._input.value = "";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user