amendx / vue-dndrop

:herb: A vue library for drag and drop :sparkles:
https://amendx.github.io/vue-dndrop
MIT License
207 stars 20 forks source link

Support tag cloud layout / orientation #49

Open robinp opened 2 years ago

robinp commented 2 years ago

Hello - first, a most excellent library! Thank you.

My usecase would be to render two groups of tags, and let dragging between them. A group would look like a tag cloud, the tags continuously overflowing over the lines.

Currently vue-dndrop Container has vertical or horizontal orientation, but doesn't let overflow.

I tried to hack with display: flex and flex-flow: wrap on the Container, which works for the layout, but when dragging around, positions of the holes are (unsurprisingly) weird.

I wonder if this could be supported? Thank you! Robin

gerbenvandijk commented 2 years ago

I am also interested in this, my use case is a tag cloud where the user has to drag tags from one source area to different drop zones 👍