Open MingShun-Li opened 2 years ago
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit be1ed3bcd81e5d63f2fed87bd541e229dc10d909:
Sandbox | Source |
---|---|
react-sortable-hoc-starter | Configuration |
Using the distance attribute of the container, according to the description document and usage, it should be the linear pixel value of the offset position and the origin, rather than the sum of the offsets of the X and Y axes. I hope the author can see and merge this PR, otherwise the description of distance is ambiguous.
Also encountered this problem, now this library, do not repair bug, nor allow others to pr tmd
Fix the distance attribute. Change the offset sum of X and Y axes to the pixel value of a straight line