react-sortablejs
react-sortablejs copied to clipboard
[bug] preventOnFilter not working
Describe the bug
When using preventOnFilter={false} to manually handle cancelling dragging, the event is always cancelled.
To Reproduce
- Create a sortable list with
preventOnFilter={false}andfilter="li" - Add an empty
onFilterhandler. - Try moving your
lielement.
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