Ticket #8524 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 2 years ago by keppla

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

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

  • Status changed from new to closed
  • Resolution set to fixed

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 2 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 2 years ago by scott.gonzalez

  • Milestone changed from 1.9.0 to 1.8.24
Note: See TracTickets for help on using tickets.