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

(cherry picked from commit 3116497)

(CP triggered by luacmartins)
  • Loading branch information
luacmartins authored and OSBotify committed Dec 13, 2024
1 parent a464a50 commit 55c5ec4
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 55c5ec4

Please sign in to comment.