Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:Fix sortableContainer distance inaccurate #849

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MingShun-Li
Copy link

Fix the distance attribute. Change the offset sum of X and Y axes to the pixel value of a straight line

@codesandbox-ci
Copy link

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 be1ed3b:

Sandbox Source
react-sortable-hoc-starter Configuration

@MingShun-Li
Copy link
Author

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.

@vaynevayne
Copy link

Also encountered this problem, now this library, do not repair bug, nor allow others to pr tmd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants