metafizzy / metafizzy/packery

Issue with Dragging the middle element

Open
#568 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.3k
Forks
324
PR merge metrics
No merged PRs in 30d

Description

Hi, in the below sandbox you can check, that after initial render. Any time you try to drag and put another element in the middle. It is not working, it always ends up a 2 item row, whereas in initial render it contained 3 items.

https://codesandbox.io/p/sandbox/q2cqr2

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction and verify the initial three-item row, then drag another element into the middle. Trace the Packery drag-and-layout behavior responsible for the two-item result; done means the row retains three items after the drop.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.