PDA

View Full Version : Drag and Drop on Layers with Shadow



Ivy
13 Jun 2007, 9:30 PM
Hi

I'm using the initDD on some layers I generate with drop shadows. The problem is, after dragging, the shadows still remain in the original positions.

What am I doing wrong?:))

Thanks

mufi
26 Jul 2007, 7:20 AM
I have the same (or similar) problem: In my case, I've simply adapted one of the tutorials (viz. the CRUD interface using a grid (http://extjs.com/learn/Tutorial:Using_Ext_grid_form_dialog_to_achieve_paging_list%2C_create%2C_edit%2C_delete_function)) and found that, after showing, destroying (or hiding), and reshowing a draggable LayoutDialog instance with a shadow, it's shadow remains put (i.e. no longer follows its dialog box when dragged).

This only appears in IE, however (which is significant enough that I've disabled the draggable setting).

Jason

jsakalos
26 Jul 2007, 2:09 PM
I solve the same problem by hiding shadow at drag start and re-showing it on the end of drag.

You can see it in action here (http://aariadne.com/accordion-preview).