Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Cancelling sort using custom helper causes list to display in incorrect order #491

Closed
@nathanialle

Description

@nathanialle

Hi, I forked the simple codepen to show my issue.

I have to create a custom helper in my code to fix the offset scroll issue. I have an issue when after I cancel the sort a few times.

See codepen

Codepen

If you drag the top item to the bottom of the list 3 times it ignores the cancel event. Now the list is displayed incorrectly and if you try sorting other items you see the log shows the model item orders do not match the list displayed in the left hand side.

Been trying to work out what is going on to but am none the wiser.
Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions