diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs index d9633598e4a0..e586e3e089dd 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs @@ -18,6 +18,7 @@ using Windows.Foundation.Metadata; using Windows.System; using Windows.UI.Core; +using Windows.UI.Input.Preview.Injection; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using Microsoft.UI.Xaml.Controls.Primitives; @@ -25,6 +26,7 @@ using Microsoft.UI.Xaml.Media; using Microsoft.UI.Xaml.Shapes; using SamplesApp.UITests; +using Uno.Extensions; using Uno.UI.RuntimeTests.Helpers; using Point = System.Drawing.Point; @@ -37,8 +39,6 @@ using Windows.UI; using Windows.ApplicationModel.Appointments; using Microsoft.UI.Xaml.Hosting; -using Uno.Extensions; -using Windows.UI.Input.Preview.Injection; using Uno.UI.Toolkit.Extensions; #endif diff --git a/src/Uno.UI/UI/Xaml/Internal/InputManager.Pointers.Managed.cs b/src/Uno.UI/UI/Xaml/Internal/InputManager.Pointers.Managed.cs index 2e7d9914f1d6..9e06a6ae7045 100644 --- a/src/Uno.UI/UI/Xaml/Internal/InputManager.Pointers.Managed.cs +++ b/src/Uno.UI/UI/Xaml/Internal/InputManager.Pointers.Managed.cs @@ -357,7 +357,7 @@ private void OnPointerPressed(Windows.UI.Core.PointerEventArgs args) { return; } - + if (TryRedirectPointerPress(args)) { return;