Skip to content

Commit

Permalink
Fix: navigate to invite list by arrow keys
Browse files Browse the repository at this point in the history
  • Loading branch information
dragnoir committed May 28, 2024
1 parent 4b23de2 commit 8c0ef9e
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 @@ -254,7 +254,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 8c0ef9e

Please sign in to comment.