fredsa / gwt-dnd

Library providing easy to use mouse or touch based drag-and-drop capabilities to GWT
42 stars 41 forks source link

Positioner size is wrongly calculated when the dragged element is not visible. #153

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Does the issue occur in "quirks mode", "standards mode" or both? If you
don't know, does your HTML page contains a DOCTYPE declaration?

Standards mode

What version of GWT are you using? 1.4.60? 2.0.4? Other?
2.4

What version of the gwt-dnd jar file or library file are you using?
latest

What operating system(s) are you using? Windows? Linux? Mac?
windows

Does the issue occur in web mode, development mode (formerly "hosted
mode"), both or don't know?
web mode

What browser(s) do you use? Chrome, Firefox, IE, Safari, other?
Firefox

What is the browser version (if you know) from Help->About?
FF 6.0

What steps will reproduce the problem? Please attach sample code if you
can.
1.In demo 12(Selecting tab one), change the drag proxy behavior to Use Drag 
Proxies.
2. Now drag the block to any other tab, you will see the positioner changing to 
a dot since the original widget has become invisible.

What is the expected output? What do you see instead?
The size of the positioner must be height and width of the original block

Do you have a workaround?
function makePositioner(Widget widget) in AbsolutePositionDropController.java 
must be refactored.

Please provide any additional information below.

Original issue reported on code.google.com by anshul.i...@gmail.com on 20 Nov 2011 at 1:47