metafizzy / metafizzy/packery

Add back drag / fit packing behavior from v1

Open
#353 29 comments 73 reactions 1 assignee View on GitHub

@desandro is already working on this.

Since Apr 10, 2018.

feature request
Dominant language
JavaScript
Stars
4.3k
Forks
324
PR merge metrics
No merged PRs in 30d

Description

Packery v2 changed packing behavior. I'm interested to hear if anyone would like an option to use Packery v1 drag / fit behavior in Packery v2.
- **Packery v1** items will all be packed around dragged item. This is useful if you want the tightest arrangement of items.
- **Packery v2** items maintain horizontal position, only shifting up or down to make space for dragged item. This is useful if you want less movement while dragging items. It's easier to keep track of how items will move.

![packery-shift1](https://cloud.githubusercontent.com/assets/85566/13862442/c15b907e-ec69-11e5-9e9f-da7e21fc1857.png)

**Add a :+1: reaction** if you'd like to see Packery v1 drag packing behavior be added back to Packery v2.

Do not add a "+1" comment — I will delete them. Use reactions instead. Subscribe to this issue using the button in the sidebar.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.