From 55c5ec4aa87ed42a6e2fdf09d3832b2669bbe90f Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Fri, 13 Dec 2024 16:19:31 -0700 Subject: [PATCH] Merge pull request #54137 from FitseTLT/fix-extra-margin-search-chat-bug Fix - Search (Chats) - Extra left and right padding, entire row is not highlighted when hovered (cherry picked from commit 311649708feb0d38a097e2989d63afce0a1ca689) (CP triggered by luacmartins) --- src/components/SelectionList/ChatListItem.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/SelectionList/ChatListItem.tsx b/src/components/SelectionList/ChatListItem.tsx index 4807aa7760c8..d6ce930d0ec7 100644 --- a/src/components/SelectionList/ChatListItem.tsx +++ b/src/components/SelectionList/ChatListItem.tsx @@ -67,9 +67,11 @@ function ChatListItem({ 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 (