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

shouldAcceptDrop should be called after onDragStart #69

Open
olegcherr opened this issue Oct 8, 2020 · 0 comments
Open

shouldAcceptDrop should be called after onDragStart #69

olegcherr opened this issue Oct 8, 2020 · 0 comments

Comments

@olegcherr
Copy link

I'm creating an app that consists of multiple sortable lists of different elements.
When user begins dragging I need to figure out which element is being dragged, and prohibit dropping it into some of containers by using shouldAcceptDrop.
But the problem is that shouldAcceptDrop is being called before onDragStart. So I cannot dynamicly change behavior of containers.

In my opinion shouldAcceptDrop should be called after onDragStart.
What do you think? :)

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