aboutsummaryrefslogtreecommitdiff
path: root/src/components/common
diff options
context:
space:
mode:
authorGeorge Rusu <george@tagg.id>2021-05-26 10:55:57 -0700
committerGeorge Rusu <george@tagg.id>2021-05-26 10:55:57 -0700
commit2787ddea5c8c354c0ca58378b1297ee2b42a907f (patch)
tree1236dccdcdc8a0c4af83241218ab6407269cd689 /src/components/common
parent2408c8ee0d6b2a6b2366fb66dc06c63fa2d0aa2e (diff)
Fix tag selection screen clickable
Diffstat (limited to 'src/components/common')
-rw-r--r--src/components/common/TaggUserSelectionCell.tsx8
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>
);
};