Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragging causes duplicates (and deletes another) #163

Open
revbones opened this issue May 31, 2016 · 1 comment
Open

Dragging causes duplicates (and deletes another) #163

revbones opened this issue May 31, 2016 · 1 comment

Comments

@revbones
Copy link

I have 7 items being displayed. If I drag the first down anywhere, it gets placed at the bottom AND a copy overwrites what was the second item with a copy of the one being moved.

Before a move, my list is: Alex, Melvin, Valentin, Joseph, Rudolf, Javier, Matt.
I drag Alex to position 3, and drop it. The list then becomes: Alex, Valentin, Joseph, Rudolf, Javier, Matt, Alex.

@revbones
Copy link
Author

revbones commented May 31, 2016

Upon further research this seems to be caused by my having 2 additional listItems that are visible based on properties of the viewmodel. Both listItems contain the class "ui-state-disabled" but even with that removed, the issue still exists.

Sample of the html is included in the attached text file (since GitHub won't let me paste in html).

sample.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant