Opened 8 years ago
Last modified 8 years ago
#11518 open bug
Sortable: Draggable helper gets explicit width when using connectToSortable
Reported by: | Aziz Gazanchiyan | 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/
Change History (2)
comment:1 Changed 8 years ago by
Component: | ui.core → ui.sortable |
---|---|
Status: | new → open |
Summary: | Unexpected sizes applied to draggable after droping it to sortable → Sortable: Draggable helper gets explicit width when using connectToSortable |
comment:2 Changed 8 years ago by
I also notice, that removing the
helper: 'clone'
from the Draggable options makes it work as expected
Note: See
TracTickets for help on using
tickets.
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.