Skip to main content

Search and Top Navigation

#11518 open bug ()

Opened March 17, 2015 02:38PM UTC

Last modified March 18, 2015 06:08PM UTC

Sortable: Draggable helper gets explicit width when using connectToSortable

Reported by: creage Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.11.4
Keywords: Cc:
Blocked by: Blocking:
Description

I have Draggable, connected to Sortable. Draggable has cloned helper. When I drag an item to the sortable list, the dropped item has wrong sizes assigned, which produces unexpected layout.

Please, see the http://jsfiddle.net/BW3NW/16/

Attachments (0)
Change History (2)

Changed March 17, 2015 02:51PM UTC by scottgonzalez comment:1

component: ui.coreui.sortable
status: newopen
summary: Unexpected sizes applied to draggable after droping it to sortableSortable: Draggable helper gets explicit width when using connectToSortable

I'm not actually sure if the bug is in draggable or sortable. It wasn't obvious where the explicit width was getting applied, but it doesn't happen until the draggable is appended to the sortable.

Changed March 18, 2015 06:08PM UTC by creage comment:2

I also notice, that removing the

helper: 'clone'

from the Draggable options makes it work as expected