1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-12-01 09:58:03 +03:00

allow using tab to navigate room list smarter

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2018-06-16 08:50:53 +01:00
parent a25cdb6ce5
commit ff33ef4b51

View File

@@ -85,6 +85,10 @@ var LeftPanel = React.createClass({
let handled = false;
switch (ev.keyCode) {
case KeyCode.TAB:
this._onMoveFocus(ev.shiftKey);
handled = true;
break;
case KeyCode.UP:
this._onMoveFocus(true);
handled = true;