Revert user-list tabIndexes

This commit is contained in:
Joao Victor 2023-01-09 09:38:35 -03:00
parent 4159d3fa35
commit aa83c2ed8e
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}}

View File

@ -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') {