From 3eef1bf87ec5ebdfbdcc71ee734b2d1598eabada Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 17 Oct 2019 17:03:37 +0100 Subject: [PATCH] Fix tabbing through room sublist Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/RoomSubList.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index bca6b8ad42..843be3e50b 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -128,7 +128,7 @@ const RoomSubList = createReactClass({ this._headerButton.current.focus(); }, - onKeyDown: function(ev) { + onHeaderKeyDown: function(ev) { switch (ev.key) { case Key.TAB: // Prevent LeftPanel handling Tab if focus is on the sublist header itself @@ -297,7 +297,7 @@ const RoomSubList = createReactClass({ } return ( -