View Full Version : [Solved]Drag&Drop with IE: Dragged element with
rmunoz
07-22-2007, 04:50 PM
With IE the Drag&Drop classes are not able to calculate the width of the dragged element, and it seems that they asign it a infinite width, as you can see in the attached images. I take the good one on Firefox 2.0 and the bad one on IE 6.0.
I'm using Ext 1.1 Release Candidate 1.
jack.slocum
07-23-2007, 05:12 AM
This is a bug in IE. Shrink-wrapping block elements that "hasLayout=true" doesn't work. If you are adding an element to drag proxy that is a block element and triggers hasLayout, you will need to give it a width.
rmunoz
07-23-2007, 11:24 AM
Thank you for your answer. I've made a workaround calculating and setting dynamically the width of the element and it's working without problems :).
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.