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

(cherry picked from commit 6c9219c)
  • Loading branch information
lakchote authored and OSBotify committed Jan 30, 2024
1 parent c9c4970 commit 7d5ebe8
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 7d5ebe8

Please sign in to comment.