I have a situation where I have a post, post has content in it, when user clicks on post’s content on the home user should be redirected to another page and user is also able to select the text on the same Home Screen.
I have tried doing this
<TouchableWithoutFeedback
accessibilityRole="text"
onPress={navigateToSomeScreen}
onLongPress={() => { return null}}
>
<View
accessibilityRole="text"
>
<Text
style={[theming.theme.post_title_text]}
selectable
>
enter code here
</Text>
</View>
</TouchableWithoutFeedback>
But still its not working. When long press on the text nothing happens. I works on iOS but it’s not working properly on android.
Any suggestions or any advices how can achieve it?