Hello,
When draggable element is inside Window widget, then it drags before the window for first 3 times only. Starting from 4th drag-and-drop operation, it drags behind the Window widget. Have a look at the sample code:
The problem cause is the following: the dragging element z-index is 10010, but the Window z-index increases from 10003 by 2 every time the drag started. So, for the first drag-and-drop operations, the Window z-index is 10005, 10007, 1009. For the 4th drag-and-drop the z-index became 10011, and the dragging element drags behind the Window.
Can you please suggest me how to fix this problem?
Thanks,
Sergey
When draggable element is inside Window widget, then it drags before the window for first 3 times only. Starting from 4th drag-and-drop operation, it drags behind the Window widget. Have a look at the sample code:
<
body
>
<
div
id
=
"windowTest"
>
<
div
id
=
"divToDrag"
style
=
"width:50px;height:50px;background:yellow;"
></
div
>
</
div
>
<
script
>
$(document).ready(function () {
$("#windowTest").kendoWindow({
width: "200px",
height: "100px"
});
$("#divToDrag").kendoDraggable({
hint: function (element) {
return element.clone();
}
});
});
</
script
>
</
body
>
The problem cause is the following: the dragging element z-index is 10010, but the Window z-index increases from 10003 by 2 every time the drag started. So, for the first drag-and-drop operations, the Window z-index is 10005, 10007, 1009. For the 4th drag-and-drop the z-index became 10011, and the dragging element drags behind the Window.
Can you please suggest me how to fix this problem?
Thanks,
Sergey