Skip to content

Drag and drop is picking wrong item to move when the items are externally reordered. #125

@vishwajeetv

Description

@vishwajeetv

When the model of the sv-part is externally sorted, (as part of the table, https://github.com/daniel-nagy/md-data-table sorted using table's sort feature), this library is picking a wrong element to move.

The $item in sv-on-sort="dragged($item, $partFrom, $partTo, $indexFrom, $indexTo)" is isn't the item that is being moved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions