react-native-drawer-menu icon indicating copy to clipboard operation
react-native-drawer-menu copied to clipboard

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

Open ziofat opened this issue 8 years ago • 1 comments

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?

ziofat avatar Apr 28 '17 04:04 ziofat

@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. 😄

Tinysymphony avatar Apr 28 '17 14:04 Tinysymphony