From c5ba6bc3b844f3e01a754cdd46b8c25afd689f2f Mon Sep 17 00:00:00 2001 From: Julien Bartels Date: Thu, 18 Apr 2024 15:13:03 +0200 Subject: [PATCH] Fix: Buttons no longer work on the TreeView element when the element is selected. --- .../ContextDragBehavior.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Avalonia.Xaml.Interactions.DragAndDrop/ContextDragBehavior.cs b/src/Avalonia.Xaml.Interactions.DragAndDrop/ContextDragBehavior.cs index 0874bacb..6a904ba6 100644 --- a/src/Avalonia.Xaml.Interactions.DragAndDrop/ContextDragBehavior.cs +++ b/src/Avalonia.Xaml.Interactions.DragAndDrop/ContextDragBehavior.cs @@ -144,6 +144,7 @@ private void AssociatedObject_PointerPressed(object? sender, PointerPressedEvent _captured = true; } } + e.Handled = false; } private void AssociatedObject_PointerReleased(object? sender, PointerReleasedEventArgs e)