Skip to content

Commit 83beda4

Browse files
authored
Merge pull request #42713 from dragnoir/41906-fix
Fix: navigate to invite list by arrow keys
2 parents 04e2da9 + f65da7c commit 83beda4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/SelectionList/BaseSelectionList.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function BaseSelectionList<TItem extends ListItem>(
258258
initialFocusedIndex: flattenedSections.allOptions.findIndex((option) => option.keyForList === initiallyFocusedOptionKey),
259259
maxIndex: Math.min(flattenedSections.allOptions.length - 1, CONST.MAX_SELECTION_LIST_PAGE_LENGTH * currentPage - 1),
260260
disabledIndexes: disabledArrowKeyIndexes,
261-
isActive: true,
261+
isActive: isFocused,
262262
onFocusedIndexChange: (index: number) => {
263263
scrollToIndex(index, true);
264264
},

0 commit comments

Comments
 (0)