@@ -28,15 +28,14 @@ function TableListItem<TItem extends ListItem>({
2828 shouldSyncFocus,
2929 titleContainerStyles,
3030 shouldUseDefaultRightHandSideCheckmark,
31- shouldAnimateInHighlight,
3231} : TableListItemProps < TItem > ) {
3332 const styles = useThemeStyles ( ) ;
3433 const theme = useTheme ( ) ;
3534 const StyleUtils = useStyleUtils ( ) ;
3635
3736 const animatedHighlightStyle = useAnimatedHighlightStyle ( {
3837 borderRadius : styles . selectionListPressableItemWrapper . borderRadius ,
39- shouldHighlight : ! ! shouldAnimateInHighlight ,
38+ shouldHighlight : ! ! item . shouldAnimateInHighlight ,
4039 highlightColor : theme . messageHighlightBG ,
4140 backgroundColor : theme . highlightBG ,
4241 } ) ;
@@ -60,7 +59,7 @@ function TableListItem<TItem extends ListItem>({
6059 styles . selectionListPressableItemWrapper ,
6160 styles . mh0 ,
6261 // Removing background style because they are added to the parent OpacityView via animatedHighlightStyle
63- shouldAnimateInHighlight ? styles . bgTransparent : undefined ,
62+ item . shouldAnimateInHighlight ? styles . bgTransparent : undefined ,
6463 item . isSelected && styles . activeComponentBG ,
6564 item . cursorStyle ,
6665 ] ,
0 commit comments