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

Other scrollable view will responde to gestures when I want to open the drawer #4

Open
ziofat opened this issue Apr 28, 2017 · 1 comment

Comments

@ziofat
Copy link

ziofat commented Apr 28, 2017

I am new to react-native so not sure this is a issue or not.

If a scrollview is put on the edge of the screen, when I try to open the drawer, both drawer and the scrollview will response to the gesture. To be specific, when I swipe right the drawer will be dragged out from left, then I swipe down, the scrollview under the overlay will be dragged as well.

Having a function prop called when drawer start moving might solve this. I can disable the scrollview when the drawer start being dragged. However, there are some other component might not have a disable scroll property.

Any idea about this?

@Tinysymphony
Copy link
Owner

@ziofat I've met this embarrassing problem too. The outer pan responder (in drawer) should capture the touch event to avoid the inner components respond to it. I'll try to fix it and publish with the new feature to open drawer from both sides.

Thanks for your issues. 😄

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

2 participants