Opened 6 years ago

Closed 3 years ago

Last modified 3 years ago

#5159 closed bug (fixed)

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

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 (5)

comment:1 Changed 6 years ago by scottgonzalez

  • Milestone changed from TBD to 1.8

comment:2 Changed 4 years ago by rtwo

comment:3 Changed 3 years ago by Martin Hoch

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

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

Changeset: b9ef00f0c7fe20980e3811e6622d8e2287e0fbf5

comment:4 Changed 3 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 3 years ago by scottgonzalez

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