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

[bug] preventOnFilter not working

Open davidalejandroaguilar opened this issue 5 years ago • 0 comments

Describe the bug When using preventOnFilter={false} to manually handle cancelling dragging, the event is always cancelled.

To Reproduce

  1. Create a sortable list with preventOnFilter={false} and filter="li"
  2. Add an empty onFilter handler.
  3. Try moving your li element.

Expected behavior Expected the element to be draggable until I preventDefault within the onFilter handler.

Information react-sortable = ^2.0.11 react = ^16.13.1

davidalejandroaguilar avatar Aug 12 '20 01:08 davidalejandroaguilar