react-sortablejs icon indicating copy to clipboard operation
react-sortablejs copied to clipboard

[bug] Preview of dragged item jumps when items are moved

Open Dakkers opened this issue 5 years ago • 1 comments

Describe the bug The preview of the dragged item jumps to its starting location when dragging an item. See the attached GIF.

To Reproduce Steps to reproduce the behavior:

  1. Have some items
  2. Drag them around

Expected behavior When I drag an item, the preview of the item should be under the cursor.

Information react-sortable = ^6.0.0 react = ^16.12.0 sortablejs = ^1.12.0

Additional context This does NOT occur with react-sortable 2.0.11.

Screen Recording 2020-10-16 at 8 47 24 AM

here's the props I use:

        <ReactSortable
          animation='150'
          className='row'
          delay={50}
          disabled={this.isSaving || this.isUploadingFile}
          filter='.ignore-elements'
          forceFallback
          handle='.drag-handle'
          list={provider.media}
          onEnd={this.onSortEnd}
          setList={() => {}}
        >

Dakkers avatar Oct 16 '20 12:10 Dakkers

It's happening to me too, any updates on this?

feketegy avatar Nov 09 '20 12:11 feketegy