Login Register

DND not working

Hi, i have a problem with the DND example of the last nightly build :
http://archive.dojotoolkit.org/nightly/dojotoolkit/dojo/tests/dnd/test_d....
The example contains a set of container with the following css style
.container {
display:block;
width:100px
}

If I change this selector to the following one
.container {
display:block;
width:100px;
height:100px;
overflow:auto
}

i can only drop the drag item after having done several try in FF 2.
anybody have a solution to this problem ?

Regards

Does

It works

YES, it works for me ...

But i can't figure out what is the difference between the flick'r demo and the basic test_dnd.html regarding css styles (overflow, fix height & width) and DND items creation ?

thks

Verify that the DOM

Verify that the DOM structure is the same, and CSS applied to the same items. For example, the Flickr demo uses div wrappers for sources.

In any case if you must start with a code base, start with the one that works for you.