Save packery gird items default positions
- Dominant language
- JavaScript
- Stars
- 4.3k
- Forks
- 324
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
I need to save the default positions of the grid items on a button click.
I'm able to save and reload the grid items. but, after resetting the grid items, if I hit F5 it is taking me back to previous grid positions.
I want to save default positions on a click. please help.
// I'm not able to save the default grid positions after this line of code.
$grid.packery('reloadItems');
thanks in advance.
Contributor guide
Research direction
Start by reproducing the reported save, reload, reset, and F5 sequence around the `$grid.packery('reloadItems')` call. The issue names no repository files or tests, so first locate the persistence and reset entry points in the Packery examples or source. Done means a click reliably saves the intended default positions and reloading no longer restores the prior positions.
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
- Needs clarification
- Newbie friendliness
- 25/100