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

Fast click, drag, release can leave drag template open indefinitely #504

Open
robbiehinch opened this issue Nov 25, 2024 · 5 comments
Open
Labels

Comments

@robbiehinch
Copy link

Describe the bug
Fast click, drag, release can leave drag template open indefinitely.
I've made a suggested fix in this PR: #503

To Reproduce
Very quickly drag and drop a UI element (our application has a quite deeply nested grid layout that perhaps exacerbates the issue).

Expected behavior
The drag template will not disappear after releasing the drag.

Desktop (please complete the following information):

  • Windows 11

Additional context
I've made a suggested fix in this PR: #503
There is a copy of the output logging I used to diagnose the issue.

@FAMEEXE
Copy link

FAMEEXE commented Nov 29, 2024

Hi Robbie, do you get an exception before the template hung? We also had this bug, and we were able to fix this. :)

@robbiehinch
Copy link
Author

Hi Robbie, do you get an exception before the template hung? We also had this bug, and we were able to fix this. :)

I wasn't getting an exception. To me it seemed the issue is caused because the DragEnter event only bubbles into the ui element after the mouse has been released. Have you got a link to your fix/issue, please?

@FAMEEXE
Copy link

FAMEEXE commented Dec 3, 2024

@robbiehinch we fixed this issue in #502 but the owner of this repo doesn't seem to be active anymore. So we fixed this issue in a fork with our own package:

May i ask, what version of .NET Framework/.NET are you using?

@punker76
Copy link
Owner

punker76 commented Dec 3, 2024

@FAMEEXE Sorry for delay, I'm active, but have currently some outer space human issues. I saw your PR and will look for it to merge it soon

@robbiehinch
Copy link
Author

May i ask, what version of .NET Framework/.NET are you using?

4.8 ftw

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

3 participants