Skip to content

Using the same model for drag and drop only allows for swapping, not repositioning, of items #92

Closed
@peteclodi

Description

@peteclodi

The current implementation will only allow for the swapping of items when the drop target and the drag target point to the same model. It would be useful to be able to use the drag and drop functionality to allow for the repositioning of an item within the model.

So instead of the dnd-ctrl-as-syntax.html example swapping the 2 letters, the dragged and the dropped. It would place the dropped letter in between the dropped letter and the one preceding it.
Swap:
swap
Insert:
insert

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions