How to drag a div out of a overflow-y:auto div?

89 views Asked by At

I am working on a project that has a drag and drop function. The drag option is a bit long and therefore scrolling is necessary.

This is the JS fiddle of my testing script: http://jsfiddle.net/2e9Jd/30/

As you can see, I am unable to drag the elements out of the div after setting overflow-y:auto even I set overflow-x:visible. It seems that when I set overflow-y:auto, overflow-x is forced to be auto. Is it a bug on CSS? Any work around?

0

There are 0 answers