Containment for draggable element

后端 未结 1 2018
小蘑菇
小蘑菇 2021-01-28 04:23

How do I define the containment area for a draggable to have it draggable outside of its parent element? I have two droppable containers that have draggable divs in them. I wa

1条回答
  •  被撕碎了的回忆
    2021-01-28 04:34

    Had to remove overflow: hidden;

    .link_drop_box{
           height:80%;
           /* overflow:hidden; */
    }
    .comdiv { 
           position:absolute; 
           padding: 0; 
           border: 1px solid DarkKhaki;
           border-radius: 3px 3px 0px 0px;
           box-shadow: inset 0px 0px 10px DarkKhaki;
           /* overflow-y: hidden;
           overflow-x: hidden; */
        }
    

    http://jsfiddle.net/gkvgn/10/ .

    0 讨论(0)
提交回复
热议问题