Skip to content

useSortable: wrong order of elements #4222

Closed
@liuhbin

Description

Describe the bug

Same issue as #2924, which was fixed in #2926, the bug reappeared after merging #3322.

The problem mentioned in #3216.
After const element = array.splice(from, 1)[0], the missing element in nextTick(console.log(array)) should be the expected behavior.

Reproduction

https://vueuse.org/integrations/useSortable/

System Info

-

Used Package Manager

npm

Validations

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions