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

Droppable: Improve over/out events detection, when greedy option is used #1844

Closed
wants to merge 1 commit into from
Closed

Conversation

dzmitry-paulenka
Copy link

Fixes #9389 and probably some others.
JSFiddle with the problem: http://jsfiddle.net/xhcofgvx/
JSFiddle with this fix: http://jsfiddle.net/xhcofgvx/3/

Obsoletes this PR: #1770

The logic changed to do two loops instead of one.
First one detects all droppables that should toggle over/out state, taking into consideration greedy option on inner droppables.
Second loop does the actual state change.

Also test is added, that fails without these commit.

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

Successfully merging this pull request may close these issues.

1 participant