diff --git a/src/components/SelectionList/SelectionListWithSections/BaseSelectionListWithSections.tsx b/src/components/SelectionList/SelectionListWithSections/BaseSelectionListWithSections.tsx index 2f110153fd36c..064f258f42a6e 100644 --- a/src/components/SelectionList/SelectionListWithSections/BaseSelectionListWithSections.tsx +++ b/src/components/SelectionList/SelectionListWithSections/BaseSelectionListWithSections.tsx @@ -119,10 +119,6 @@ function BaseSelectionListWithSections({ const debouncedScrollToIndex = useDebounce(scrollToIndex, CONST.TIMING.LIST_SCROLLING_DEBOUNCE_TIME, {leading: true, trailing: true}); - const onArrowUpDownCallback = useCallback(() => { - setShouldDisableHoverStyle(true); - }, [setShouldDisableHoverStyle]); - const [focusedIndex, setFocusedIndex] = useArrowKeyFocusManager({ initialFocusedIndex, maxIndex: flattenedData.length - 1, @@ -137,7 +133,7 @@ function BaseSelectionListWithSections({ }, setHasKeyBeenPressed, isFocused: isScreenFocused, - onArrowUpDownCallback, + onArrowUpDownCallback: () => setShouldDisableHoverStyle(true), }); const getFocusedItem = (): TItem | undefined => {