I'm trying to use RNGH components like TouchableOpacity
inside a react-native-modal
combined with wix/react-native-navigation
. It doesn't work. When I tap it, no interaction happened.
Importing TouchableOpacity
from react-native
seems to be working. The problem is, I want to use import {TouchableOpacity} from 'react-native-navigation';
because it is more responsive compared to the original.
Could anyone explain why, or a workaround maybe?
Here is my app structure:
Wix react-native-navigation
|
|-- gestureHandlerRootHOC( Component (The Screen) )
|
|----- <Modal />
| |
| |------ TouchableOpacity <-- I cannot press this
|
|----- TouchableOpacity <-- But I can press this