You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-16 06:42:26 +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:
@@ -93,6 +93,11 @@ var LeftPanel = React.createClass({
|
|||||||
this._onMoveFocus(false);
|
this._onMoveFocus(false);
|
||||||
handled = true;
|
handled = true;
|
||||||
break;
|
break;
|
||||||
|
case KeyCode.ENTER:
|
||||||
|
this._onMoveFocus(false);
|
||||||
|
this.focusedElement.click();
|
||||||
|
handled = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (handled) {
|
if (handled) {
|
||||||
|
|||||||
Reference in New Issue
Block a user