Skip to content

Commit

Permalink
Merge pull request #50089 from ishpaul777/fix/highlight-style
Browse files Browse the repository at this point in the history
[Fix] Search - Expenses are not highlighted when selected
  • Loading branch information
luacmartins authored Oct 2, 2024
2 parents f475642 + 4d7a154 commit b52f1d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/SelectionList/Search/ReportListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ function ReportListItem<TItem extends ListItem>({
styles.pv1half,
styles.ph0,
styles.overflowHidden,
// Removing background style because they are added to the parent OpacityView via animatedHighlightStyle
styles.bgTransparent,
item.isSelected && styles.activeComponentBG,
isFocused && styles.sidebarLinkActive,
// Removing some of the styles because they are added to the parent OpacityView via animatedHighlightStyle
{backgroundColor: 'unset'},
styles.mh0,
];

Expand Down
4 changes: 2 additions & 2 deletions src/components/SelectionList/Search/TransactionListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ function TransactionListItem<TItem extends ListItem>({
styles.selectionListPressableItemWrapper,
styles.pv3,
styles.ph3,
// Removing background style because they are added to the parent OpacityView via animatedHighlightStyle
styles.bgTransparent,
item.isSelected && styles.activeComponentBG,
isFocused && styles.sidebarLinkActive,
// Removing some of the styles because they are added to the parent OpacityView via animatedHighlightStyle
{backgroundColor: 'unset'},
styles.mh0,
];

Expand Down

0 comments on commit b52f1d4

Please sign in to comment.