Closed GoogleCodeExporter closed 9 years ago
Copying comment from issue 43 (Dragging removes PopupPanel's EventPreview from
the
DOM):
Unfortunately, the way PopupPanel and gwt-dnd are designed, the two are largely
incompatible. gwt-dnd must detach and reattached widgets in order to drag them
correctly while PopupPanel is designed to be in control of it's "attachedness".
It
also as a fail safe in the form of an onUnload() method which disconnects the
event
preview if the widget is detached (as it is when gwt-dnd starts dragging it).
Instead of using PopupPanel, try one of these options:
1. Use DialogBox which can already be dragged by its heading without the need
for
gwt-dnd enabled dragging
2. Create your own panel (perhaps using DecoratorPanel) which can be dragged
with
gwt-dnd. Borrow some of the code from PopupPanel if you need to, but don't
include
the event preview code.
Marking as 'WontFix'.
Original comment by fredsa
on 19 Oct 2009 at 6:07
Original issue reported on code.google.com by
bertknec...@web.de
on 2 Sep 2009 at 2:01