allow using tab to navigate room list smarter

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2018-06-16 08:50:53 +01:00
parent a25cdb6ce5
commit ff33ef4b51
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E
1 changed files with 4 additions and 0 deletions

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;