@@ -28,14 +28,15 @@ function TableListItem<TItem extends ListItem>({
2828 shouldSyncFocus,
2929 titleContainerStyles,
3030 shouldUseDefaultRightHandSideCheckmark,
31+ shouldAnimateInHighlight,
3132} : TableListItemProps < TItem > ) {
3233 const styles = useThemeStyles ( ) ;
3334 const theme = useTheme ( ) ;
3435 const StyleUtils = useStyleUtils ( ) ;
3536
3637 const animatedHighlightStyle = useAnimatedHighlightStyle ( {
3738 borderRadius : styles . selectionListPressableItemWrapper . borderRadius ,
38- shouldHighlight : ! ! item . shouldAnimateInHighlight ,
39+ shouldHighlight : ! ! shouldAnimateInHighlight ,
3940 highlightColor : theme . messageHighlightBG ,
4041 backgroundColor : theme . highlightBG ,
4142 } ) ;
@@ -59,7 +60,7 @@ function TableListItem<TItem extends ListItem>({
5960 styles . selectionListPressableItemWrapper ,
6061 styles . mh0 ,
6162 // Removing background style because they are added to the parent OpacityView via animatedHighlightStyle
62- item . shouldAnimateInHighlight ? styles . bgTransparent : undefined ,
63+ shouldAnimateInHighlight ? styles . bgTransparent : undefined ,
6364 item . isSelected && styles . activeComponentBG ,
6465 item . cursorStyle ,
6566 ] ,
0 commit comments