Add back drag / fit packing behavior from v1 #353

Open
desandro opened this Issue Mar 17, 2016 · 19 comments

Projects

None yet
@desandro
Member
desandro commented Mar 17, 2016 edited

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

Add a 👍 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.

@lgm42
lgm42 commented Mar 18, 2016

👍
I need, behavior like flow layout panel in desktop development.

@Adryi13
Adryi13 commented Mar 23, 2016

Can't we have both behaviors? If there is a way to toggle between them i would like to know. Thanks!

@cbtdev
cbtdev commented Mar 23, 2016

I'm pretty sure that is the intention.

As desandro said:

I'm interested to hear if anyone would like an _option_ to use Packery v1 drag behavior in Packery v2.

@desandro desandro changed the title from Add back drag packing behavior from v1 to Add back drag / fit packing behavior from v1 Mar 23, 2016
@andrey-lizunov

Hope that this will be implemented and not shelved.
In my case, layout method doesn't solve an issue(

@WilliamSWoodruff

@desandro I'm interested in this please!

@WilliamSWoodruff

What I'm really interested in is having v1-like predictable reordering with ability for variable-height elements, all same width. Is that possible?

@metaman
metaman commented Apr 26, 2016

👍 Definitely would like to see this option back in please. Our items are all the same size so it makes sense for our users to be able to swap horizontally a <-> b and vertically a <-> f

@davidyarham
davidyarham commented Apr 27, 2016 edited

I agree with @metaman. When dragging an item left to right then my brain would expect the right most to slide into its place, and also when dragging down then I would expect the underneath to slide into place.

@yairEO
yairEO commented Apr 28, 2016

Is there an ETA for this? seems like a very important issue. I am very eager to see this done :)

@jaghira
jaghira commented May 1, 2016

Adding predictive drag by moving/placing items vertically if user drags up or down and vice versa, if user drags left or right to move/place the images horizontally may be a good feature!

@UranusCEO

We really this function~ Anyone have a quick fix to it rather than waiting for the author?

@WeArePercipio
WeArePercipio commented Aug 1, 2016 edited

Is this still in the works does anyone know?

@Grey007
Grey007 commented Aug 16, 2016

What is the status of this feature?

@Eldair
Eldair commented Sep 2, 2016

Any news on this?

@desandro
Member
desandro commented Sep 5, 2016 edited

This feature is still being considered. Adding another layout algorithm into Packery makes it more complex. So I'd like to be careful.

I appreciate your interest in Packery. But c'mon. No news means no news.

@jeffaltman

+1

@gorkma
gorkma commented Nov 4, 2016

+1

@kaisermann

That would be really good. I use packery for arranging photo grids and the v2 behaviour is not intuitive (and produces """wrong""" results) for my current use case.

@jano42
jano42 commented Nov 14, 2016 edited

It would be nice to have the choice on the drag behavior !

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