| Page 1 of 1 | [ 2 posts ] |
|
I have this fiddle below:
http://jsfiddle.net/NUvjJ/ The black square is a handle that has been floated so that it appears outside the parent container (the ul). The problem is that if I drag the handle, the drag and drop does not register any drops. If I drag the handle and move the mouse inside over the other elements in the li while dragging, the drop registers. I have tried increasing the padding for the target attribute to a large amount, but it doesn't seem to do anything. Semantically, the handle is contained within the li, which is a draggable node. Is this a bug? |
|
John --
Take a look at my version of your fiddle: http://jsfiddle.net/davglass/NUvjJ/5/ You can see that the handles are actually outside of the UL's not inside. Sortable uses a mouseover event to know when you are interacting with the list. So with your handles outside of the UL, it doesn't know it needs to be sorted. |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group