mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +03:00
implement hitting enter after Ctrl-K should switch to the first result
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a25cdb6ce5
commit
efaccf7344
1 changed files with 5 additions and 0 deletions
|
@ -93,6 +93,11 @@ var LeftPanel = React.createClass({
|
|||
this._onMoveFocus(false);
|
||||
handled = true;
|
||||
break;
|
||||
case KeyCode.ENTER:
|
||||
this._onMoveFocus(false);
|
||||
this.focusedElement.click();
|
||||
handled = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if (handled) {
|
||||
|
|
Loading…
Reference in a new issue