Skip to content

DropTargetAdorners.Highlight has wrong location #449

@RedX2501

Description

@RedX2501

Describe the bug
When you have non-visible elements the Highlight border is misaligned.

To Reproduce
Steps to reproduce the behavior:

Open project, drag element onto target element.

DragDropBugReport.zip

This project uses the latest version with .net 6 but I have the problem with .net framework 4.7.2.

Expected behavior
The highlight border should be around the gray element but is offset.

The computation of the size to highlight is correct but the offset is not.

Desktop (please complete the following information):

  • OS: Win 10

  • Version: DragDrop 3.1.1

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions