angular-grid-layout icon indicating copy to clipboard operation
angular-grid-layout copied to clipboard

Newly added items on 2nd row started from right. It should be from left side.

Open sw-ms-surendrasinhrathod opened this issue 4 years ago • 2 comments

When I add new items, from the 2nd row it adding new boxes from the right side. The left side space remains empty always. Please check attached screenshot

image

Thanks for reporting!

I have checked the code, and the compact function with compactType='horizontal' doesn't handle well adding items the way is done in this example (at position 0, 0). I think compaction horizontal should resolve as you showed in the image so I marked it as a bug.

If you are interested on resolving it you can make a Pull Request (I can guide you a little bit on which code to change if needed). If not don't worry, it would be done in the near future.

llorenspujol avatar Sep 09 '21 14:09 llorenspujol

Hi, any update? I have the same problem

AntoninoBonanno avatar Sep 21 '22 13:09 AntoninoBonanno

In the next published version this issue should be solved. Also many changes and fixes for compact 'horizontal' method, that was clearly behaving strange in many situations. Still may need more work, but it is far better right now IMO.

llorenspujol avatar Jan 04 '23 09:01 llorenspujol