Skip to content
New issue

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

Click on presable elements in content not working on Android #103

Open
raulangeleh opened this issue Feb 8, 2024 · 0 comments
Open

Click on presable elements in content not working on Android #103

raulangeleh opened this issue Feb 8, 2024 · 0 comments

Comments

@raulangeleh
Copy link

Description

I want my tooltip to have some buttons in the content. To act like a tutorial functionality of a part of my app. So my content has a title and a "next" and "close" button. The issue here is that when I click those touchableOpacities in the content on android it is triggering the onClose function even when I add the property closeOnContentInteraction ={false} on Android. If I run the same code on a iOS device the touchableOpacities work fine. Does any one know why is this? Can we work on a fix for this?

Tries

I have tried add a big z-index to the buttons and the content but it does not triggers the onpress action of the touchableopacieties from the content.
I have tried also add the onClose... properties to do not trigger the onClose function but only when I add the closeOnBackgroundInteraction stops triggering the onClose function of the tooltip but it still not trigger the onPress function of my TouchableOpacity.

Version

"react-native-walkthrough-tooltip": "^1.6.0"
"react": "18.0.0"
"react-native": "0.69.7"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant