Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adorner being calculated incorrectly using ListBox with Grouping and WrapPanel as ItemsPanel #351

Open
GallinaceUs opened this issue Jun 23, 2020 · 0 comments
Labels

Comments

@GallinaceUs
Copy link

GallinaceUs commented Jun 23, 2020

What steps will reproduce this issue?

Using the default Showcase application, I modified the ListBox/Grouping sample to use a WrapPanel as ItemsPanel into the ListBox.
I also added dd:DragDrop.ItemsPanelOrientation="Horizontal" so the adorner is vertical.

Observed

By dragging an item at the end of a group, the Adorner does not positions correctly.
It gets even worst if you reduce the width of the ListBox so the wrapping actually occurs.

Here is a GIF for demonstration
GongListBoxGroupingWrapDemo

Expected

The adorner should positions at the end of the group.

Environment

  • GongSolutions.WPF.DragDrop v2.2.0
  • Windows OS 10
  • Visual Studio 2017/2019
  • .NET Framework 4.7.2

Repository for reproducing

https://github.com/GallinaceUs/gong-wpf-dragdrop

@punker76 punker76 added the Bug label Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants