Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8524 closed bug (fixed)

Nested greedy droppables trigger parents events even when scopes are different

Reported by: keppla Owned by:
Priority: minor Milestone: 1.8.24
Component: ui.droppable Version: 1.8.23
Keywords: Cc:
Blocked by: Blocking:

Description

Given three droppables, A, B, C. They are nested i a way that A contains B contains C. A and C have scope X, and B has scope Y. C has the option greedy: true.

If a draggable with scope X is dragged over the droppables, events for B are triggered.

Try it at http://jsbin.com/agucuc/1 , just drag the draggable over the droppables and watch the hoverclasses get inconsistent.

Change History (4)

comment:1 Changed 11 years ago by keppla

Last edited 11 years ago by keppla (previous) (diff)

comment:2 Changed 11 years ago by Philipp Benjamin Köppchen

Resolution: fixed
Status: newclosed

Droppable: greedy children now consider only parents with same scope as parents. Fixed #8524 - Nested greedy droppables trigger parents events even when scopes are different

Changeset: bce08389388ec21bc904035a7267afed255573f4

comment:3 Changed 11 years ago by Philipp Benjamin Köppchen

Droppable: greedy children now consider only parents with same scope as parents. Fixed #8524 - Nested greedy droppables trigger parents events even when scopes are different (cherry picked from commit bce08389388ec21bc904035a7267afed255573f4)

Changeset: 1cbd513aa3f2efa78838fb57ae7251290abec993

comment:4 Changed 11 years ago by Scott González

Milestone: 1.9.01.8.24
Note: See TracTickets for help on using tickets.