mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
always let tab/shift-tab select sublist headers
This commit is contained in:
parent
053beae035
commit
a8daa53a5b
1 changed files with 1 additions and 3 deletions
|
@ -104,11 +104,9 @@ module.exports = React.createClass({
|
|||
incomingCall = <IncomingCallBox className="mx_RoomSubList_incomingCall" incomingCall={ this.props.incomingCall }/>;
|
||||
}
|
||||
|
||||
var tabindex = this.props.searchFilter === "" ? "0" : "-1";
|
||||
|
||||
return (
|
||||
<div className="mx_RoomSubList_labelContainer" title={ title } ref="header">
|
||||
<AccessibleButton onClick={ this.props.onClick } className="mx_RoomSubList_label" tabIndex={tabindex}>
|
||||
<AccessibleButton onClick={ this.props.onClick } className="mx_RoomSubList_label" tabIndex="0">
|
||||
{ this.props.collapsed ? '' : this.props.label }
|
||||
<div className="mx_RoomSubList_roomCount">{ roomCount }</div>
|
||||
<div className={chevronClasses}></div>
|
||||
|
|
Loading…
Reference in a new issue