Skip to content

How to start dragging only after timeout (long tap activator)? #115

@iamcsharper

Description

@iamcsharper

I'm building a popup with a series of full-width slides, one for each day. Each day has a sortable list of cards.

I want to make it so that users can only start dragging and sorting the cards if they long-press on them (meaning they hold their finger down for at least one second).

How can I implement this using solid-dnd? Any suggestions or examples you can provide would be greatly appreciated!

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