Skip to content

Droppable: Fix bubbling of greedy droppables #1770

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dritter
Copy link

@dritter dritter commented Nov 16, 2016

  • Remove code that made the false assumption that if dragging an element
    out of the greedy child, it is always over the parent. This is not
    always true, as the child could be right on the parents border, or
    even pushed (partially) outside of the parent.

  • This commit includes the fixes of maimairel, the original author of
    #9389 from his fiddle http://jsfiddle.net/fvjF4/

This fiddle demonstrates the fix: https://jsfiddle.net/dritter/36gvy1a7/
Just move the blue box over the green boxes. You'll see no yellow flash of the parent box (red).

Fixes: #9389

- Remove code that made the false assumption that if dragging an element
  out of the greedy child, it is always over the parent. This is not
  always true, as the child could be right on the parents border, or
  even pushed (partially) outside of the parent.

- This commit includes the fixes of maimairel, the original author of
  #9389 from his fiddle http://jsfiddle.net/fvjF4/

Fixes: #9389
@jsf-clabot
Copy link

jsf-clabot commented Nov 16, 2016

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

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

Successfully merging this pull request may close these issues.

3 participants