Closed sayyidisal closed 7 months ago
Hi there, I create customview like this :
renderCustomView={() => ( <Pressable onPress={() => { console.log('Pressed); }} style={{ position: 'absolute', top: 40, right: 50, }}> <FontAwesome5Icon name='menu-horizontal' size={20} color='white'/> </Pressable> )}
But nothing happen when I press the Icon. Any solution for this case?
Package.json:
"react-native-gesture-handler": "2.9.0", "react-native-reanimated": "^2.14.4", "react-native-story-view": "^0.0.2", "react-native-video": "^5.2.1", "react-native-video-cache-control": "^1.2.0",
@sayyidisal
Would you kindly supply a screen capture or a code sample for the parent's view component?
I'm unable to replicate this problem.
"Absolute" most likely interferes with the touchable portion of the screen.
I couldn't help but notice the console.log syntax is incorrect; I assume there is a typo.
Hi there, I create customview like this :
`renderCustomView={() => ( <Pressable onPress={() => { console.log('Pressed); }} style={{ position: 'absolute', top: 40, right: 50, }}>
But nothing happen when I press the Icon. Any solution for this case?
Package.json: