punker76 / gong-wpf-dragdrop

The GongSolutions.WPF.DragDrop library is a drag'n'drop framework for WPF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dragging item onto scroll bar drops item at the bottom

punker76 opened this issue · comments

Original author: harms.bl...@gmail.com (July 08, 2010 13:16:25)

What steps will reproduce the problem?

  1. Create a list box with IsDragSource="True" and IsDropTarget="True"
  2. Drag and drop a list box item onto the scroll bar

What is the expected output? What do you see instead?
Expected: Drop fails or the cursor changes to show that dropping is not enabled on the scroll bar, no changes to the list.
Reality: Item moved to the bottom of the list.
It looks like the default drop target is the last item in the list. So when the algorithm cannot determine which item is the target, it just drops at the end of the list.

What version of the product are you using? On what operating system?
0.1.2 on Windows XP

Please provide any additional information below.
I am binding the items to the list box

Original issue: http://code.google.com/p/gong-wpf-dragdrop/issues/detail?id=25

will be fixed in 0.1.3.9