Skip to main content

Search and Top Navigation

#15347 new bug ()

Opened June 14, 2019 02:59AM UTC

Last modified June 14, 2019 04:23AM UTC

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.

Attachments (0)
Change History (2)

Changed June 14, 2019 03:01AM UTC by Roinoss comment:1

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

Changed June 14, 2019 04:23AM UTC by Roinoss comment:2

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/