Skip to content

Commit a27c11b

Browse files
committed
prevent text selection on mweb iOS
1 parent d46b8e9 commit a27c11b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/SelectionList/Search/TransactionGroupListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function TransactionGroupListItem<TItem extends ListItem>({
181181
isFocused && StyleUtils.getItemBackgroundColorStyle(!!item.isSelected, !!isFocused, !!item.isDisabled, theme.activeComponentBG, theme.hoverComponentBG),
182182
]}
183183
onFocus={onFocus}
184-
wrapperStyle={[styles.mb2, styles.mh5, animatedHighlightStyle]}
184+
wrapperStyle={[styles.mb2, styles.mh5, animatedHighlightStyle, styles.userSelectNone]}
185185
>
186186
<View style={styles.flex1}>
187187
{getHeader}

src/components/SelectionList/Search/TransactionListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function TransactionListItem<TItem extends ListItem>({
122122
isFocused && StyleUtils.getItemBackgroundColorStyle(!!item.isSelected, !!isFocused, !!item.isDisabled, theme.activeComponentBG, theme.hoverComponentBG),
123123
]}
124124
onFocus={onFocus}
125-
wrapperStyle={[styles.mb2, styles.mh5, animatedHighlightStyle]}
125+
wrapperStyle={[styles.mb2, styles.mh5, animatedHighlightStyle, styles.userSelectNone]}
126126
>
127127
{!isLargeScreenWidth && (
128128
<UserInfoAndActionButtonRow

0 commit comments

Comments
 (0)