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

Duplicates during sorts #192

Closed
Brand3000 opened this issue Nov 3, 2023 · 8 comments
Closed

Duplicates during sorts #192

Brand3000 opened this issue Nov 3, 2023 · 8 comments

Comments

@Brand3000
Copy link

Hi! Watch the video here please.

@LuckyLukas98
Copy link

Probably the same issue as #184 ?

@Brand3000
Copy link
Author

Yes, it's the same issue, but that fix doesn't help. It fixes duplicates but the sorting process doesn't work properly either.

@Brand3000
Copy link
Author

If we leave the :key attribute without id, the issue disappears. Actually, I think there's an issue with the vue-draggable-next package. I have written about this issue to their thread of issues.

@leonardyrj
Copy link

up

@Tarpsvo
Copy link
Collaborator

Tarpsvo commented Nov 27, 2023

Heya! Version 3.4.7 should now address this issue. Please give it a test run and let me know if it solves the issue. Thanks!

@Tarpsvo Tarpsvo closed this as completed Nov 27, 2023
@Brand3000
Copy link
Author

Nope. It sorts and duplicates don't appear. However it leaves previous visual order of items.

@Tarpsvo
Copy link
Collaborator

Tarpsvo commented Nov 27, 2023

Yeah, I managed to reproduce this as well now. I think it might be a fault of vue-draggable. I can't seem to understand why it would do that. It works in 95% of cases, but sometimes it refuses to rearrange some combination of rows. However it works when you do the inverse order. Ie row 1->3 does not work, but row 3->1 works.

@Brand3000
Copy link
Author

Yep, I agree and I've already written the issue to that package developers. It seems that they don't care though =(

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

4 participants