Skip to content

Commit

Permalink
Merge pull request #54137 from FitseTLT/fix-extra-margin-search-chat-bug
Browse files Browse the repository at this point in the history
Fix - Search (Chats) - Extra left and right padding, entire row is not highlighted when hovered
  • Loading branch information
luacmartins authored Dec 13, 2024
2 parents c7b91a4 + efa1135 commit 3116497
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/SelectionList/ChatListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ function ChatListItem<TItem extends ListItem>({
const pressableStyle = [
styles.selectionListPressableItemWrapper,
styles.textAlignLeft,
styles.overflowHidden,
// Removing background style because they are added to the parent OpacityView via animatedHighlightStyle
styles.bgTransparent,
item.isSelected && styles.activeComponentBG,
styles.mh0,
item.cursorStyle,
];
return (
Expand Down

0 comments on commit 3116497

Please sign in to comment.