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

Items not always removed #2

Open
RPMallett opened this issue Apr 5, 2022 · 1 comment
Open

Items not always removed #2

RPMallett opened this issue Apr 5, 2022 · 1 comment

Comments

@RPMallett
Copy link

The drag and drop demo was very useful, thanks!

In DragDropDemo, I found that if I was quick enough doing the drag and drop, the item was sometimes not removed, as below. I initially discovered this in my own app where the two listviews were closer to each other and the issue happened frequently. I think it has something to do with testing the HitTest result in TodoItemList_DragLeave, but I'm not sure as this is new to me!

image

@StefanoRivolta-Previero
Copy link

I've noticed the same issue as well, but I'm not sure what may be causing the bug.
Some things I've noticed:

  • The issue seems to be linked to HitTestResult returning a value instead of null when exiting the listview

  • It seems to only happen on the top and left border of the first listview:
    MsRlo0iWpF

  • It doesn't seem to happen if I add an extra column exactly as wide as the other two (add a ColumnDefinition Width="*")
    U3cAd2qSgn

TBH, I've tried a bunch of things and still have no idea what the hell is happening

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

No branches or pull requests

2 participants