Skip to content

Disable drag up when snapIndex = 1 #309

Open
@NhaPCS

Description

@NhaPCS

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions