Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1617

Masonry Layout Left-to-Right Drag-and-Drop

$
0
0

Anyone have any good ideas on how to accomplish a Masonry layout of elements that go left-to-right instead of top-to-bottom while also being able to utilize a drag and drop?

There are programmatic solutions out there for the left-to-right concept, but it involves changing the order of the elements before they are rendered -- this means it won't work with drag-and-drop functionality without a decent amount of custom logic. It would be ideal to just map the elements within a single <div> but I'm not sure if that's possible. I figured I'd throw this out there in case anyone had a clean solution.


Viewing all articles
Browse latest Browse all 1617

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>