-
Notifications
You must be signed in to change notification settings - Fork 515
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
onPress is passed to Animated.View while dragging #30
Comments
If I'm not mistaken, this is an Android only issue. also referenced at #31 On iOS it should be working nicely, you can test the following in the example app: @LoyalBlocks-tzachi will work on the touches in Android starting Sunday. If anyone wants to fix them beforehand, we'll appreciate it |
@talkol that's cool. As well I noticed that I can't scroll with in an Animated.View. Seems that interactable is hijacking the event. Does this fall under the same issue? |
I think so, I just tested a webview that scrolls in both directions inside an interactable.view and it works well on iOS (it's the same test I linked above) |
@iremlopsum I raised the scrolling issue here, then saw this issue sorry! #35 |
Hi guys! I fixed most of the Android touch issues in this branch: https://github.com/wix/react-native-interactable/tree/androidFixes I'll appreciate if you can give feedback before I merge to master The issue that still remains unresolved (I'm still working on it) is horizontal scroll inside horizontal moving interactable (or anything with horizontal drag like a slider) |
Merged into master (v0.0.7). Please re-open if the issue is still there. Should be resolved. |
Sliding between Slides still passes an onPress to the child view.
I have a button, and if I drag from it, it gets pressed. Any idea how to solve this reasonably and show that I wouldn't have to handle it on every button separately? To specify, I released the mouse myself and onPressed wasn't passed while I was dragging, but upon release of of drag.
The text was updated successfully, but these errors were encountered: