clauderic / clauderic/react-sortable-hoc

Add Placeholders Node where the Drop would happen

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

Description

I have just rewritten the sorting part of an application, I am developing in React and stumbled upon your "react-sortable-hoc". Before we used jqueryUI.

I am sorting a List (that's displayed as a grid).

Before we showed a placeholder in the spot where the item would be dropped. However, I haven't figured out a clever way to do this using your package.

Old Behaviour with Placeholders
![Old "Correct" Behaviour ](https://user-images.githubusercontent.com/6940430/43332124-b1abfd3e-91c7-11e8-8faf-0466ddd5ce19.gif)

New Behaviour without Placeholders
![New "Faulty" behaviour](https://user-images.githubusercontent.com/6940430/43332143-bda479ea-91c7-11e8-9d4e-eb0836ca6065.gif)

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.