Jquery droppable - Greedy not working as expected

后端 未结 1 963
遇见更好的自我
遇见更好的自我 2021-01-28 12:09

I am having an unusual issue with droppable. I have a lot of code so I will try to simplify my question as best as possible.

I have two divs that are droppable within a

相关标签:
1条回答
  • 2021-01-28 12:16

    Here's the thing.

    jQuery UI prevents a ancestor droppables from receiving drop events when a descendent droppable is configured with {greedy: true}. It does not prevent sibling or cousin droppables from receiving drop events in cases where one overlaps the other.

    This is a design decision by jQuery UI. They do not intend to fix it.

    0 讨论(0)
提交回复
热议问题