Revert user-list tabIndexes
This commit is contained in:
parent
4159d3fa35
commit
aa83c2ed8e
@ -229,7 +229,7 @@ class UserParticipants extends Component {
|
||||
id={'user-list-virtualized-scroll'}
|
||||
aria-label="Users list"
|
||||
role="region"
|
||||
tabIndex={-1}
|
||||
tabIndex={0}
|
||||
ref={(ref) => {
|
||||
this.refScrollContainer = ref;
|
||||
}}
|
||||
|
@ -826,7 +826,7 @@ class UserListItem extends PureComponent {
|
||||
<Styled.UserItemContents
|
||||
isActionsOpen={isActionsOpen}
|
||||
selected={selected === true}
|
||||
tabIndex={0}
|
||||
tabIndex={-1}
|
||||
onClick={() => this.setState({ selected: true }, () => Session.set('dropdownOpenUserId', user.userId))}
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === 'Enter') {
|
||||
|
Loading…
Reference in New Issue
Block a user