We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've implemented something similar to your Basic example with a "Click Me" text but the onPress action does not trigger any event.
All the rest of behaviour is working as expected, just the onPress event does not seem to be triggered using the TouchableOpacity.
My code has something very similar to your example below:
renderForeground={() => ( <View style={{ height: 150, justifyContent: "center", alignItems: "center" }} > <TouchableOpacity onPress={() => console.log("tap!!")}> <Text style={{ backgroundColor: "transparent" }}>Tap Me! )}
This is happening across all platforms.
It looks like another layer sits on top.
Any suggestion?
Thanks
The text was updated successfully, but these errors were encountered:
I also facing same issue please give any suggestion
Sorry, something went wrong.
try renderFixedForeground
No branches or pull requests
I've implemented something similar to your Basic example with a "Click Me" text but the onPress action does not trigger any event.
All the rest of behaviour is working as expected, just the onPress event does not seem to be triggered using the TouchableOpacity.
My code has something very similar to your example below:
renderForeground={() => (
<View style={{ height: 150, justifyContent: "center", alignItems: "center" }} >
<TouchableOpacity onPress={() => console.log("tap!!")}>
<Text style={{ backgroundColor: "transparent" }}>Tap Me!
)}
This is happening across all platforms.
It looks like another layer sits on top.
Any suggestion?
Thanks
The text was updated successfully, but these errors were encountered: