Skip to content

Commit

Permalink
Merge pull request #42713 from dragnoir/41906-fix
Browse files Browse the repository at this point in the history
Fix: navigate to invite list by arrow keys
  • Loading branch information
luacmartins authored Jun 3, 2024
2 parents 04e2da9 + f65da7c commit 83beda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SelectionList/BaseSelectionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function BaseSelectionList<TItem extends ListItem>(
initialFocusedIndex: flattenedSections.allOptions.findIndex((option) => option.keyForList === initiallyFocusedOptionKey),
maxIndex: Math.min(flattenedSections.allOptions.length - 1, CONST.MAX_SELECTION_LIST_PAGE_LENGTH * currentPage - 1),
disabledIndexes: disabledArrowKeyIndexes,
isActive: true,
isActive: isFocused,
onFocusedIndexChange: (index: number) => {
scrollToIndex(index, true);
},
Expand Down

0 comments on commit 83beda4

Please sign in to comment.