Skip to main content

Search and Top Navigation

#8524 closed bug (fixed)

Opened August 27, 2012 06:31PM UTC

Closed August 29, 2012 12:24PM UTC

Last modified August 29, 2012 12:25PM UTC

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.

Attachments (0)
Change History (4)

Changed August 27, 2012 06:43PM UTC by keppla comment:1

_comment0: Pull request for fix: #7201346238018613932

Changed August 29, 2012 12:24PM UTC by Philipp Benjamin Köppchen comment:2

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

Changed August 29, 2012 12:24PM UTC by Philipp Benjamin Köppchen comment:3

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

Changed August 29, 2012 12:25PM UTC by scottgonzalez comment:4

milestone: 1.9.01.8.24