Draggable helper width
Draggable helper width
Issue assumes the following:
1. helper = 'clone'
2. original element has a percentage-based width
3. appendTo specifies a different offset parent than the original
element.
The width of the helper will not be correct. In my example, the
original element has a parent div with position:relative, and I'm
using appendTo:document.body.
I've added my own fix in ui.draggable.js...underneath the helper
creation in the "start" event...
//Set the helper width
if(this.element[0] != this.helper[0]) {
this.helper.width(this.element.width());
}