gwt-dnd icon indicating copy to clipboard operation
gwt-dnd copied to clipboard

while dragging, the droppable location is not inserted.

Open mkuruvil opened this issue 10 years ago • 1 comments

Hi, I am trying to use gwt-dnd in my application. I am copying working code that does drag and drop properly, and making changes to it to adapt it in another part of the application. When I click on a draggable widget's drag handle, the four way pointer shows up. I try dragging it, and it moves, wherever I have moved my mouse. However, the white rectangle which should be inserted immediately after I click the drag handle is not seen.

I am using a FlowPanel, and FlowPanelDropController. When I pick up a widget and move it, a droppable/white rectangle comes up in the working code (which is with a VerticalPanelDropController), but not so for the modified code.

Any suggestions would be appreciated.

Thanks. Matthew

mkuruvil avatar Mar 20 '15 05:03 mkuruvil

Suggest using the https://github.com/fredsa/gwt-dnd/blob/wiki/GettingStarted.md wiki. You should also try the working demo code, and compare working examples with your code

On Thu, Mar 19, 2015 at 10:36 PM mkuruvil [email protected] wrote:

Hi, I am trying to use gwt-dnd in my application. I am copying working code that does drag and drop properly, and making changes to it to adapt it in another part of the application. When I click on a draggable widget's draggable image, the four way pointer shows up. I try dragging it, and it moves, albeit jerkily, wherever I have moved my mouse. However, the white rectangle which should show up is not showing up, hence I am not able to place my widget and complete the drag and drop by release the mouse.

I am using a FlowPanel, and all the widgets are stacked from left to right and overflows down as needed. when I pick up a widget and move it, a droppable location comes up in the working code, but the modified code does not show that. I would like to know have some idea where in the dnd code this insertion of the white rectangle/droppable location is inserted, so that I can fix this problem. Thanks. Matthew

— Reply to this email directly or view it on GitHub https://github.com/fredsa/gwt-dnd/issues/187.

fredsa avatar Mar 20 '15 15:03 fredsa