clauderic / clauderic/react-sortable-hoc

Restrict dragging range

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

Description

Nice work!

Not sure if this is possible, but I'd like be able to restrict the drag of an object to a range defined by the object. My use case is a series of operations which have some dependencies. I'd like the user to be able to reorder operations, but not go past dependency boundaries. Is there any way to do this with the current APIs? It doesn't seem like the callbacks can return any information, so all I think I can do right now is put up cursors.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.