Ticket #5159 (closed bug: fixed)

Opened 4 years ago

Last modified 2 years ago

Remove and receive events on nested sortables

Reported by: carlos.vara Owned by:
Priority: minor Milestone: 1.8.24
Component: ui.sortable Version: 1.8rc1
Keywords: Cc:
Blocking: Blocked by:

Description

If a connected sortable list is placed inside another sortable list, everything works fine, except the remove and receive events.

When an element is moved from the inner list to the outer one, 2 update, 1 remove and 1 receive events are called. This is the expected behavior.

But when an element is moved from the outer list to the inner one, only 1 update event is triggered, and no remove or receive events are called.

Change History

comment:1 Changed 4 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.8

comment:2 Changed 3 years ago by rtwo

comment:3 Changed 2 years ago by Martin Hoch

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

Sortable: Fixed container change detection. Fixes #5159 - Remove and receive events on nested sortables.

Changeset: b9ef00f0c7fe20980e3811e6622d8e2287e0fbf5

comment:4 Changed 2 years ago by Martin Hoch

Sortable: Fixed container change detection. Fixes #5159 - Remove and receive events on nested sortables. (cherry picked from commit b9ef00f0c7fe20980e3811e6622d8e2287e0fbf5)

Conflicts:

ui/jquery.ui.sortable.js

Changeset: c0d0283b3bab4fc211b086aa0fbeaa77aad0ce52

comment:5 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.