clauderic / clauderic/react-sortable-hoc

Unusual behaviour when dragging with horizontal mode

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

Description

Hi, thanks for the fantastic library!

I am having a few issues using the horizontal mode. I followed the example in the README and it works, however the behaviour when dragging is inconsistent. See the animation below. Do you have any ideas why this might be?

I would share a code sample but it's very much coupled to my app structure right now. If needs be, I will try and isolate the problem and create a small test.

Thanks!

![react-sortable](https://cloud.githubusercontent.com/assets/921609/23929384/a9a6db06-091d-11e7-8cba-2b5f9b94d488.gif)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the horizontal-mode example in the README and compare its dragging behavior with the animation attached to this issue. Reproduce the inconsistent behavior in a small isolated test if possible, then use that test to define the expected item movement and verify the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.