metafizzy / metafizzy/packery

separate options for gutterWidth and gutterHeight

Open
#2 32 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Right now [`gutter`](http://packery.metafizzy.co/options.html#gutter) is a single option that controls both the vertical gutter and horizontal gutter between item elements. Having separate options for `gutterWidth` and `gutterHeight` would allow you to control these values separately.

Please +1 if you'd like to see this feature.

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.

Research direction

Start with the linked gutter option documentation and locate the implementation of the existing gutter option. Determine how vertical and horizontal spacing are currently calculated, then define separate gutterWidth and gutterHeight behavior and update the relevant documentation; the feature is done when the two dimensions can be controlled independently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.