react-sortable-hoc icon indicating copy to clipboard operation
react-sortable-hoc copied to clipboard

shouldCancelStart is not a function

Open AleksaButterfly opened this issue 2 years ago • 1 comments

Hey there! Seems that there is an issue with the package, and whenever I click on the sortable item, I can see Uncaught TypeError: shouldCancelStart is not a function error in my console. This produces issues with my sortable items as they are videos, so they can't be clicked. I've tried passing shouldCancelStart as a prop, but it doesn't fix the problem.

Is there any fix or should I just install an older package version?

Screen Shot 2022-10-18 at 12 33 38

AleksaButterfly avatar Oct 18 '22 10:10 AleksaButterfly

You're supposed to pass that prop to the container and not the item.

tomasantunes avatar Mar 31 '23 10:03 tomasantunes