EDIT: I was able to figure something out, this fiddle reflects the change: http://jsfiddle.net/Kw27r/5/
I have a div (#gallery
) which contains a set of draggable tiles. They are to be dropped into another div (#imageDropContainer
) which contains several drop zones. Here is the issue I am having:
When #gallery
's overflow-y
property is set to visible, everything works fine. However, #gallery
must have a fixed height, meaning it can only display 2 rows of tiles at once. So if the overflow is set to visible, you can't see anything in the 3rd row because it is "hiding" behind the #imageDropContainer
which is immediately below #gallery
. If you set the div to scrollable, then you can scroll to the other elements in the div but the tiles are "hidden" behind the drop zone while you are dragging them.
How can I allow the div to remain scrollable, but have draggable tiles not hide behind the drop zone while they are being dragged? in other words, How can I circumvent the standard behavior of the 'Overflow' property?
Here is a fiddle to demonstrate:
What I have considered "pertinant" JS and CSS is shown in the fiddle. If I have overlooked something, other background CSS and JS can be viewed from the external resources
tab.
Thanks for reading!