diff options
author | George Rusu <george@tagg.id> | 2021-05-26 10:55:57 -0700 |
---|---|---|
committer | George Rusu <george@tagg.id> | 2021-05-26 10:55:57 -0700 |
commit | 2787ddea5c8c354c0ca58378b1297ee2b42a907f (patch) | |
tree | 1236dccdcdc8a0c4af83241218ab6407269cd689 | |
parent | 2408c8ee0d6b2a6b2366fb66dc06c63fa2d0aa2e (diff) |
Fix tag selection screen clickable
-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> ); }; |