Feature request: Rotate items
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 4.3k
- Forks
- 324
- PR merge metrics
- No merged PRs in 30d
Description
Hi, Packery works great, though it not able to find the optimal layout by also being able to rotate items.
I have created this manually now (by being able to rotate all items individually and re-render the layout), but would it be possible for Packery to auto rotate all the items needed to find the most optimal (effective) layout of the elements in the smallest square area?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by reviewing Packery's existing item rotation and layout-rendering behavior, then determine how automatic rotation and optimal square-area selection should be defined. Done would require an agreed algorithm, implementation scope, and tests demonstrating the resulting layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100