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

Draggable re-appears at original placeholder position after beforeDrop accept #306

Open
arminh opened this issue Dec 12, 2016 · 0 comments

Comments

@arminh
Copy link

arminh commented Dec 12, 2016

I have several draggable items and two lists that the items can be dragged into. The lists accept only certain items, which is is checked via the beforeDrop-callback.
When an item is accepted in the beforeDrop-callback and dropped into the list it sometimes happens that the item appears at its original position (I use placeholders) for a split second, just long enough to be noticable.

Here is a plunker to illustrate the problem: http://plnkr.co/edit/JuDUlnSDNu7VaA4PRoWi?p=preview
You may have to re-run it a couple of times since the bug doesn't appear all the time.

Do you have an explanation for this problem?

Thank you for your great work!

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