diff --git a/src/platform/web/ui/session/leftpanel/LeftPanelView.js b/src/platform/web/ui/session/leftpanel/LeftPanelView.js index 5b56fa4a..8757ad42 100644 --- a/src/platform/web/ui/session/leftpanel/LeftPanelView.js +++ b/src/platform/web/ui/session/leftpanel/LeftPanelView.js @@ -32,6 +32,7 @@ class FilterField extends TemplateView { placeholder: options?.label, "aria-label": options?.label, autocomplete: options?.autocomplete, + enterkeyhint: 'search', name: options?.name, onInput: event => options.set(event.target.value), onKeydown: event => { diff --git a/src/platform/web/ui/session/room/MessageComposer.js b/src/platform/web/ui/session/room/MessageComposer.js index 8da69478..95f48747 100644 --- a/src/platform/web/ui/session/room/MessageComposer.js +++ b/src/platform/web/ui/session/room/MessageComposer.js @@ -28,6 +28,7 @@ export class MessageComposer extends TemplateView { render(t, vm) { this._input = t.input({ placeholder: vm.isEncrypted ? "Send an encrypted messageā€¦" : "Send a messageā€¦", + enterkeyhint: 'send', onKeydown: e => this._onKeyDown(e), onInput: () => vm.setInput(this._input.value), });