Opened 4 months ago

Last modified 4 months ago

#15347 new bug

Hidden items in sortable aren't sortable directly after showing in one drag.

Reported by: Roinoss Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

Components: ui.sortable + ui.dropable

Case:

  1. Have sortable with hidden items and shown item.
  2. Drag shown sortable item over dropable with action 'over' -> function show hidden items.
  3. Hidden items are visible now.
  4. Try to sort (without releasing helper) dragged item into hidden before items. They are not sortable until dragged item is dropped.

Fiddle: http://jsfiddle.net/d1a6hmgv/2/

PS.: I couldn't ask about this on forum, always got redricted to login page and after login, to blank page.

Change History (2)

comment:1 Changed 4 months ago by Roinoss

Summary: Can't login into jquery forum.Hidden items in sortable aren't sortable directly after showing in one drag.

comment:2 Changed 4 months ago by Roinoss

To close - Missed

.sortable('refresh')

option after overwriting hidden css.

Something with refresh should be in examples for sortable. Full code: http://jsfiddle.net/s53bvkye/

Note: See TracTickets for help on using tickets.