On May 7, 2013, at 7:30 AM,
ayso...@gmail.com wrote:
> I have created two divs. One is for draggable objects. Another for the area where they should be dropped.
> The both divs should have the same height and if there are large number of draggables to have scrollbar.
>
> When I add overflow: scroll to the div with draggable objects, then drag-and-drop functionality is screwed up.
> Please see an example here
http://jsfiddle.net/nB8PC/1/
> To reproduce my issue just enable overflow:scroll in CSS window (upper right, it is commented out) and run the script again.
>
> Is there any solution for it?
I have fixed this in the past by making the overflow property on a parent element (letting the draggable element itself be scrolled in its entirety within that parent).