@@ -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' ;
@@ -934,7 +933,7 @@ function ReportActionsList({
934933 shouldFocusToTopOnMount && styles . justifyContentEnd ,
935934 shouldScrollToEndAfterLayout && StyleUtils . getHiddenChatContentStyle ( ) ,
936935 ] }
937- showsVerticalScrollIndicator = { getShowScrollIndicator ( shouldScrollToEndAfterLayout ) }
936+ showsVerticalScrollIndicator = { ! shouldScrollToEndAfterLayout }
938937 onEndReached = { onEndReached }
939938 onEndReachedThreshold = { 0.75 }
940939 onStartReached = { onStartReached }
@@ -947,6 +946,7 @@ function ReportActionsList({
947946 onViewableItemsChanged = { onViewableItemsChanged }
948947 extraData = { extraData }
949948 key = { listID }
949+ overrideProps = { { isInvertedVirtualizedList : true } }
950950 getItemType = { ( item ) => item . actionName }
951951 shouldMaintainVisibleContentPosition = { shouldMaintainVisibleContentPosition }
952952 initialScrollKey = { linkedReportActionID }
0 commit comments