restore tabIndex

This commit is contained in:
Ramón Souza 2023-09-05 10:34:38 -03:00
parent 92c9ba971e
commit 5cc38d0b4d
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ const ChatListItem = (props: ChatListItemProps) => {
role="button"
aria-expanded={isCurrentChat}
active={isCurrentChat}
tabIndex={0}
tabIndex={-1}
accessKey={isPublicGroupChat(chat) ? TOGGLE_CHAT_PUB_AK : null}
onClick={handleClickToggleChat}
id="chat-toggle-button"

View File

@ -49,7 +49,7 @@ const ChatList: React.FC<ChatListProps> = ({ chats }) => {
</Styled.Container>
<Styled.ScrollableList
role="tabpanel"
tabIndex={-1}
tabIndex={0}
>
<Styled.List>
<TransitionGroup >