javascript - jQueryUI - Drag and Drop issue - dragged element goes behind other DOM elements -


i trying implement drag , drop between 2 div's

please refer fiddle below : http://jsfiddle.net/sandeepkram/sauca/

this layout replica of application. in fiddle can see if drag element within first div (on left side) keeps moving within div forever - though if motion mouse drag , drop onto right side div, work.

here problem indefinite scrolling / dragging of element within left side div. dont know problem here -

in application have problem, in when drag item out of left side div, vanishes though can drop cursor on right side div , drop appears have worked correctly.

need know why dragged element disappearing.

i have looked questions , resources related this, sortables etc on stackoverflow , net - no use.

i have tried use "stack" option no use

$.each($("ul#secondarykpilist ul > li"), function (index, tlistitem) {         $(tlistitem).addclass("secondarykpidraggable");         $(tlistitem).draggable({         revert : 'invalid',         stack: '.secondarykpidraggable'         });     }); 

to solve visual issue, remove overflow changes

overflow-y: auto; overflow-x: hidden; 

on .kpislistitems setting following fiddle: http://jsfiddle.net/gewls/2

these rules messing way jquery sortable handles , calculates positioning, hence strange behavior.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -