diff options
-rw-r--r-- | src/components/common/TaggUserSelectionCell.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/common/TaggUserSelectionCell.tsx b/src/components/common/TaggUserSelectionCell.tsx index 2ea1e4ce..5424ab9b 100644 --- a/src/components/common/TaggUserSelectionCell.tsx +++ b/src/components/common/TaggUserSelectionCell.tsx @@ -1,5 +1,9 @@ import React, {useEffect, useState} from 'react'; import {StyleSheet, View} from 'react-native'; +import { + TouchableOpacity, + TouchableWithoutFeedback, +} from 'react-native-gesture-handler'; import {ProfilePreview} from '..'; import {ProfilePreviewType, ScreenType} from '../../types'; import {SCREEN_WIDTH} from '../../utils'; @@ -48,7 +52,7 @@ const TaggUserSelectionCell: React.FC<TaggUserSelectionCellProps> = ({ } }; return ( - <View style={styles.container}> + <TouchableWithoutFeedback onPress={handlePress} style={styles.container}> <View style={{width: SCREEN_WIDTH * 0.8}}> <ProfilePreview profilePreview={item} @@ -57,7 +61,7 @@ const TaggUserSelectionCell: React.FC<TaggUserSelectionCellProps> = ({ /> </View> <TaggRadioButton pressed={pressed} onPress={handlePress} /> - </View> + </TouchableWithoutFeedback> ); }; |