Skip to content

Unable to close drawer by dragging from within scroll container. #4

@joncoronel

Description

@joncoronel

Noticed that I'm unable to close the drawer by swiping it away from within any scroll container in the drawer.

In the scroll example at https://vaul-base.vercel.app/examples, on mobile, if you try to drag down from within the scroll container, the drawer slightly moves down but then pops back up.

That issue does not occur in the vaul example used in https://vaul.emilkowal.ski/default#scrollable.

Not exactly sure what would cause that? I've tried even using the same code for both but just importing from the respective package since they share the same api but issue still occurs so it doesn't seem to come from the any differences to how each example implements the scroll within the drawer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions