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

Drag to opposite direction set de element in first or last position #11

Closed
JoseLuisRNP opened this issue Apr 28, 2023 · 2 comments
Closed

Comments

@JoseLuisRNP
Copy link

In my project, the element is setted in first position, but is the same effect, can we avoid a sort if is moving to opposite direction?

Grabacion.de.pantalla.desde.28-04-23.09.08.44.webm
@Alfred-Skyblue
Copy link
Owner

You can pass the onMove function to return false to prevent this sorting.

@JoseLuisRNP
Copy link
Author

got it! thanks for such a quick response.

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

No branches or pull requests

2 participants