clauderic / clauderic/react-sortable-hoc

Item Pushed to the Right Instead of Down

Open
#805 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

When there's plenty of space on the right side of the sortable list, an item dragged from a lower row to a higher row pushes the items to the right instead of down. Here's an image illustrating this behavior.
![pushBehavior](https://user-images.githubusercontent.com/34198564/125553504-ba8abc49-b938-4715-a592-520bf406be13.png)

This is the [link](https://codesandbox.io/s/cool-hooks-p3dl3?file=/src/index.js) to the project from which the behavior above is observed.

Is there any way to make sure the items don't get pushed outside of its parent container?

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.