flexbox-playground icon indicating copy to clipboard operation
flexbox-playground copied to clipboard

Drag and drop reflow

Open mikemcbride opened this issue 5 years ago • 2 comments

Little idea: I'd be cool if you could drag and drop the canvas area to see if the items are reflowing properly. :)

Source: this comment

I think the suggestion here means adding drag-and-drop to the individual flex items. I am not 100% sure how I would want this to work yet internally but I think it's a cool idea.

mikemcbride avatar Jan 30 '20 17:01 mikemcbride

I think I'm going to re-open this issue and consider it again. After circling back around and re-reading it, I think what the original feedback on this meant was that it would be cool to make the flex area resizable with drag handles (like what they do in Tailwind UI's website, for example), so that you could see the flex items adjust.

Part of me thinks it would be a neat feature to add, the other part of me thinks "you can just resize your browser and get the same effect".

This would likely be a fairly easy addition if somebody was ambitious.

mikemcbride avatar Oct 05 '22 02:10 mikemcbride

example:

https://user-images.githubusercontent.com/6248612/195119638-8faee065-d8e1-4e63-9ce9-3eeaae6d242c.mov

mikemcbride avatar Oct 11 '22 14:10 mikemcbride