Skip to content

Sortable not working correctly when using touchscreens #834

@samrobbins85

Description

@samrobbins85

When copying the example from the documentation, the sorting works correctly when in the desktop view, but when using the devtools to emulate mobile and when actually on mobile, the sorting glitches and doesn't allow the items to be sorted. This can be seen in this repo https://github.com/samrobbins85/dnd-kit-touch-bug. However testing the storybook for this works correctly https://master--5fc05e08a4a65d0021ae0bf2.chromatic.com/?path=/story/presets-sortable-vertical--basic-setup. Is there something that needs adding to the documentation example for it to work correctly?

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