clauderic / clauderic/react-sortable-hoc

onShouldSortOver

Open
#545 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

I need a callback or a way (event.preventDefault()?) to determine if a SortableElement can be dragged to the position is being sorted.

It technically looks like a simple:
```
if ( !onShouldShortOver(...) )
return ;
```

in the handler that determines the the element takes a new place.

Could this feature be implement or any hint to do a PR?

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.