message: Include more classes for room list keyboard navigation
diff: @@ -55,6 +55,15 @@ interface IState {
  showTagPanel: boolean;
  }
  +// List of CSS classes which should be included in keyboard navigation within the room list
  +const cssClasses = [
  + "mx_RoomSearch_input",
  + "mx_RoomSearch_icon", // minimized <RoomSearch />
  + "mx_RoomSublist2_headerText",
  + "mx_RoomTile2",
  + "mx_RoomSublist2_showNButton",
  +];
  +
  export default class LeftPanel2 extends React.Component<IProps, IState> {
  private listContainerRef: React.RefObject<HTMLDivElement> = createRef();
  private tagPanelWatcherRef: string;
  @@ -204,10 +213,7 @@ export default class LeftPanel2 extends React.Component<IProps, IState> {
  if (element) {
  classes = element.classList;
  }
  - } while (element && !(
  - classes.contains("mx_RoomTile2") ||
  - classes.contains("mx_RoomSublist2_headerText") ||
  - classes.contains("mx_RoomSearch_input")));
  + } while (element && !cssClasses.some(c => classes.contains(c)));
  if (element) {
  element.focus();
  