Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let user leave gaps between tiles and disable stacking stamped items (packery 2 or 1) #554

Open
kedor89 opened this issue Feb 22, 2021 · 0 comments

Comments

@kedor89
Copy link

kedor89 commented Feb 22, 2021

Hello.
I am trying to use packery but i need to let user put the tile wherever he wants.

  1. Is it possible with packery 2? (i dont think so - it always pull up or left - layout, or shiftLayout)
  2. I almost got it working with packery 1 (test case below) where I stamp an item after dragging it, so it can be even in bottom right corner. The problem is, that stamping an item, lets user to put another item in the same place. Is there a workaround for that, so user should not be able to stack another items on stamped tiles?

Test case: https://codepen.io/Kedor/pen/qBqPPjq

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant