metafizzy / packery

:bento: Gapless, draggable grid layouts
https://packery.metafizzy.co
4.13k stars 315 forks source link

Drag overlap #343

Open desandro opened 8 years ago

desandro commented 8 years ago

As reported by from Peter G.

On the “draggable dashboard” drag the 1*2 element as shown below:

image001

Notice that the “Drag me” element is overlapped by a 2*1 element. I am using the latest version of FireFox on Windows 10. I don’t think this is what you meant to do.

This is a legit bug. Possibly a rounding error. Will have to investigate.

yairEO commented 8 years ago

Here's a gif:

1

seems like this mostly (or maybe only) happens on the 2 right corners. elements are stacking on top of each other on D&D.

triplethreat77 commented 8 years ago

Right column overlap here too, but on Chrome.

desandro commented 8 years ago

Another report in Chrome on Windows

packeryissue1

ExpDevelopment commented 7 years ago

@desandro Hey thank you for making such an awesome library. I'm looking into using it for a project, is there any update on a fix for this issue?

desandro commented 7 years ago

anyupdatesonthis.com

ghost commented 5 years ago

Quite thankful this library exists ! I'm seeing it happening in Edge too Are there any updates on this issue?

ghost commented 4 years ago

In my case, i seem to often get overlapping issues right after calling shiftlayout() with custom positions, even after dragging.

I noticed that calling resizeShiftPercentLayout() right after using shiftLayout() mitigates this effect, and havent gotten any issues so far. Could anyone else confirm the same?