Skip to content

Touch Drag with Animation Broken - uses wrong offset after changing positions #1941

@n8sabes

Description

@n8sabes

When touch-dragging with animation, the dragged item (ghost?) resets to it's original location with the wrong touch-offset after the item changes positions. Please see screen recording, below.

This does not happen in mouse-mode, or if animation is disabled with touch. I have not been able to reproduce this from the examples or sandboxes and am carving up my project to identify the cause. Any input on what could be causing this would be appreciated.

SortableJS_TouchAnimationIssue

React: 16.x / 17
SortableJS: 1.12.0

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