root-two / react-native-drawer

React Native Drawer
MIT License
2.54k stars 391 forks source link

Integrate with horizontal scrollview/flatlist #312

Open Symous opened 7 years ago

Symous commented 7 years ago

hi, awesome lib!

I have a horizontal flatlist in my page , but when I swipe from left to right, the drawer will respond the pan instead of my flatlist , as a result , the flatlist can not swipe to left.

and I find a solution temporary that we can set panOpenMask={5} to solve this, but it still not better enough. I guess the best way is that if there is a flatlist exist in the page, the flatlist will have a higher priority to response the open gesture(slide items), Is there any way to achieve this? thanks!

ACOSW commented 7 years ago

Same question. Is there any possibility to ignore panOpenMask within specified elements?

roycclu commented 6 years ago

Same issue here. Did you find any way to let the flatlist have higher priority? @Symous