wix-incubator/react-native-interactable

Disable drag up when snapIndex = 1

NhaPCS opened this issue · 2 comments

I have an issue about the dragEnabled.
It's my BottomSheet:
Screen Shot 2020-04-22 at 8 54 34 AM

I want to disable drag up when snapIndex = 1 (means when BottomSheet is expanded. But it still can drag down.
I tried to set dragEnabled in onPanResponderMove but it's not working.
Screen Shot 2020-04-22 at 8 58 17 AM
Can anyone help me, thank you so much!

Same issue for me. Anyone know a fix?

1 upvote, it's there any solution pros?