moveable icon indicating copy to clipboard operation
moveable copied to clipboard

How do you do drag-and-drop sorting in the container?

Open zaohuayudie opened this issue 4 years ago • 2 comments

Environments

  • Framework name: React
  • Framework version: 16.13.1
  • Moveable Component version: 0.18.5
  • Testable Address(optional):

Description

I want to implement dragging into a container and implementing grid layout rows or columns,like this http://clauderic.github.io/react-sortable-hoc/#/basic-configuration/basic-usage?_k=xesvfa https://react-beautiful-dnd.netlify.app/?path=/story/single-vertical-list--basic

You want div to have container functionality I can drag into the container sort, I can drag out of the container, or I can drag into any other div that has container functionality

zaohuayudie avatar Aug 25 '20 14:08 zaohuayudie

@zaohuayudie

It doesn't seem to be the role of moveable.

You can drag it with moveable. Movingable can't do sorting or changing the position of other items according to their position.

daybrush avatar Aug 27 '20 17:08 daybrush

Hey, this functionality (react beautiful-dnd) is exactly what I'm trying to replicate as well. Since this is an old but open issue can I ask if someone has an idea on how to get started with this (in Vue) or has anything changed in the last 1,5 years? This feels like an ultimate addition/extension to the great core. Thanks

holtergram avatar Mar 22 '22 03:03 holtergram