Skip to content

Commit

Permalink
Merge pull request #35386 from Expensify/lucien/revert-scroll-pr
Browse files Browse the repository at this point in the history
[CP Staging] Revert #34485
  • Loading branch information
lakchote authored Jan 30, 2024
2 parents aaa658f + 47f6a1d commit 6c9219c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/SelectionList/BaseSelectionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,6 @@ function BaseSelectionList<TItem extends User | RadioItem>(
return;
}

// scroll is unnecessary if multiple options cannot be selected
if (!canSelectMultiple) {
return;
}

// set the focus on the first item when the sections list is changed
if (sections.length > 0) {
updateAndScrollToFocusedIndex(0);
Expand Down

0 comments on commit 6c9219c

Please sign in to comment.