[Desktop] DragStarting called on parent control rather than on child control #18765
Labels
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
This bug is present only on
Desktop
Framework,WinAppSDK
works fine.Create an
UIElement
that contains anotherUIElement
.Both of them have
DragStarting
event handler attached.Bug: When the child is being dragged, the parent's handler is called rather than child's one.
I suppose, the same incorrect behavior is to be observed on others handlers like:
Expected behavior
When the child element is being dragged, the child's handler shall be called rather than parent's one.
How to reproduce it (as minimally and precisely as possible)
MINIMAL REPRO PROJECT: UnoDragStartingApp.zip
STEPS TO REPRODUCE:
Desktop
FrameworkFrame_DragStarting
method is called, expectedRectangle_DragStarting
method is calledWorkaround
No response
Works on UWP/WinUI
Yes
Environment
No response
NuGet package version(s)
"Uno.Sdk": "5.5.32"
Affected platforms
Skia (WPF)
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: