mirror of https://github.com/vector-im/riot-web
allow using tab to navigate room list smarter
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
a25cdb6ce5
commit
ff33ef4b51
|
@ -85,6 +85,10 @@ var LeftPanel = React.createClass({
|
||||||
let handled = false;
|
let handled = false;
|
||||||
|
|
||||||
switch (ev.keyCode) {
|
switch (ev.keyCode) {
|
||||||
|
case KeyCode.TAB:
|
||||||
|
this._onMoveFocus(ev.shiftKey);
|
||||||
|
handled = true;
|
||||||
|
break;
|
||||||
case KeyCode.UP:
|
case KeyCode.UP:
|
||||||
this._onMoveFocus(true);
|
this._onMoveFocus(true);
|
||||||
handled = true;
|
handled = true;
|
||||||
|
|
Loading…
Reference in New Issue