clauderic / clauderic/react-sortable-hoc

Consider draggables elements with same index as a one-draggable-block

Open
#522 0 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

A list of draggables have a continuous incrementing index. In my case, some consecutive elements are consider a block, so it would be great to assign them the same index, meaning they all drag as a block. Also other elements can be dragged before or after the block, but not in the middle.

I tried to do a codesandbox to show the case (obviously it does not work):

https://codesandbox.io/s/520y4687xx

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.