@@ -7,7 +7,6 @@ import {DeviceEventEmitter, InteractionManager, View} from 'react-native';
77import type { OnyxEntry } from 'react-native-onyx' ;
88import { renderScrollComponent as renderActionSheetAwareScrollView } from '@components/ActionSheetAwareScrollView' ;
99import InvertedFlashList from '@components/FlashList/InvertedFlashList' ;
10- import getShowScrollIndicator from '@components/FlashList/InvertedFlashList/getShowScrollIndicator' ;
1110import { AUTOSCROLL_TO_TOP_THRESHOLD } from '@components/FlatList/hooks/useFlatListScrollKey' ;
1211import { usePersonalDetails } from '@components/OnyxListItemProvider' ;
1312import ReportActionsSkeletonView from '@components/ReportActionsSkeletonView' ;
@@ -929,7 +928,7 @@ function ReportActionsList({
929928 shouldFocusToTopOnMount && styles . justifyContentEnd ,
930929 shouldScrollToEndAfterLayout && StyleUtils . getHiddenChatContentStyle ( ) ,
931930 ] }
932- showsVerticalScrollIndicator = { getShowScrollIndicator ( shouldScrollToEndAfterLayout ) }
931+ showsVerticalScrollIndicator = { ! shouldScrollToEndAfterLayout }
933932 onEndReached = { onEndReached }
934933 onEndReachedThreshold = { 0.75 }
935934 onStartReached = { onStartReached }
@@ -942,6 +941,7 @@ function ReportActionsList({
942941 onViewableItemsChanged = { onViewableItemsChanged }
943942 extraData = { extraData }
944943 key = { listID }
944+ overrideProps = { { isInvertedVirtualizedList : true } }
945945 getItemType = { ( item ) => item . actionName }
946946 shouldMaintainVisibleContentPosition = { shouldMaintainVisibleContentPosition }
947947 initialScrollKey = { linkedReportActionID }
0 commit comments