re-focus composer when clicking send button
This commit is contained in:
parent
a04a6a83be
commit
b2e6310775
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ export class MessageComposer extends TemplateView {
|
|||
}
|
||||
|
||||
_trySend() {
|
||||
this._input.focus();
|
||||
if (this.value.sendMessage(this._input.value)) {
|
||||
this._input.value = "";
|
||||
}
|
||||
|
|
Reference in a new issue