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

Disable drag up when snapIndex = 1 #309

Open
NhaPCS opened this issue Apr 22, 2020 · 2 comments
Open

Disable drag up when snapIndex = 1 #309

NhaPCS opened this issue Apr 22, 2020 · 2 comments

Comments

@NhaPCS
Copy link

NhaPCS commented Apr 22, 2020

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!

@Evilbits
Copy link

Evilbits commented Apr 27, 2020

Same issue for me. Anyone know a fix?

@heo001997
Copy link

1 upvote, it's there any solution pros?

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

3 participants