Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

while dragging, the droppable location is not inserted. #187

Open
mkuruvil opened this issue Mar 20, 2015 · 1 comment
Open

while dragging, the droppable location is not inserted. #187

mkuruvil opened this issue Mar 20, 2015 · 1 comment

Comments

@mkuruvil
Copy link

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

@fredsa
Copy link
Owner

fredsa commented Mar 20, 2015

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
#187.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants