clauderic / clauderic/react-sortable-hoc

shouldCancelStart is not a function

Open
#860 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/44454004/196407264-6531ad87-7699-4a96-be80-63f1ef129ad1.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error by clicking a sortable video item and inspect how the shouldCancelStart prop is passed or invoked. No source file or test is named in the report. Done means the click no longer raises the TypeError and videos remain clickable within the sortable item.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.