SortableJS / Sortable

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.
https://sortablejs.github.io/Sortable/
MIT License
29.76k stars 3.7k forks source link

[Fix]: When destroying, failed to remove the dragover and dragenter events. #2373

Open KonghaYao opened 6 months ago

KonghaYao commented 6 months ago

When I repeated the destroy and mount events, I found that the dragover and dragenter events mounted by Sortablejs were not destroyed, which caused a bug. So I checked the source code and fixed the issue.

KonghaYao commented 6 months ago

image It looks like the tests on circleCI failed, but they were successful on my device. Windows 10.

KonghaYao commented 6 months ago

Because there was an error in the CircleCI pipeline, I upgraded testcafe and its related configurations directly so that it can run test scripts for everyone. image