Skip to content

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

Open

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

Activity

  1. shaaandi commented on Oct 6, 2020

    @shaaandi

    +1

  2. breeze9527 commented on Oct 22, 2020

    @breeze9527

    downgarde version to 1.10.1 will solve this problem 😞

  3. added a commit that references this issue on Oct 24, 2020
  4. tomorrowthief commented on Nov 3, 2020

    @tomorrowthief

    +1

  5. gabrielzevedo commented on Nov 9, 2020

    @gabrielzevedo

    +1
    in desktop occurred too

  6. rbfriedman commented on Nov 17, 2020

    @rbfriedman

    +1, I downgraded to 1.10.1 to fix the issue for now

  7. flavaflo commented on Dec 9, 2020

    @flavaflo

    +1 occurs on mobile safari

  8. staniboy commented on Dec 18, 2020

    @staniboy

    +1 on vanilla, same exact bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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