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
onOutsidePress
Thanks for the awesome library. I'm using it on react native web.
I'm facing the issue where clicking anything outside like Buttons or TouchableOpacity doesn't trigger onOutsidePress
Buttons
TouchableOpacity
Example:
<> <OutsidePressHandler disabled={false} onOutsidePress={() => { console.log("Clicked outside 200 x 200 view") }}> <View style={{ height: 200, width: 200}}></View> </OutsidePressHandler> <TouchableOpacity onPress={() => console.log("Clicked!")}> <Text>Click Me</Text> </TouchableOpacity> </>
Clicking on Click Me doesn't trigger onOutsidePress
Click Me
The text was updated successfully, but these errors were encountered:
bumping this
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Thanks for the awesome library. I'm using it on react native web.
I'm facing the issue where clicking anything outside like
Buttons
orTouchableOpacity
doesn't triggeronOutsidePress
Example:
Clicking on
Click Me
doesn't triggeronOutsidePress
The text was updated successfully, but these errors were encountered: