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

Support hitSlop on Android buttons #328

Closed
brentvatne opened this issue Oct 31, 2018 · 7 comments
Closed

Support hitSlop on Android buttons #328

brentvatne opened this issue Oct 31, 2018 · 7 comments

Comments

@brentvatne
Copy link
Contributor

Thanks to @janicduplessis this is supported on iOS, it'd be useful to have on Android as well.

@danieljennings
Copy link

Issue #283 mentions in the opening paragraph that "Android already has support for it." Is that not correct?

@brentvatne
Copy link
Contributor Author

brentvatne commented Jan 9, 2019

@osdnk
Copy link
Contributor

osdnk commented Feb 4, 2019

I doesn't look like support 🤔

@osdnk
Copy link
Contributor

osdnk commented Feb 4, 2019

Heh, support is provided with NativeViewGestureHandler 😅

@osdnk osdnk closed this as completed Feb 4, 2019
@brentvatne
Copy link
Contributor Author

interesting! thanks

@brentvatne
Copy link
Contributor Author

looks like on master that doesn't work anymore, and when i tried it on 1.0.15 it would increase the touch area as expected but onPress for the RectButton wrapped by NativeViewGestureHandler didn't fire

@Guuz
Copy link

Guuz commented Nov 27, 2020

@kmagiera @jakub-gonet @sakshya73 It's unclear, to me at least, if Android supports hitslop on buttons (BorderlessButton for instance). I can't get it to work. But perhaps i'm doing something wrong... But the docs nor the issues on github seem to be conclusive about if support is actually there...
Any insight into this would be very helpful!

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

4 participants