mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 06:21:03 +02:00
allow using tab to navigate room list smarter
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user