diff --git a/src/Uno.UI/UI/Xaml/UIElement.Pointers.wasm.cs b/src/Uno.UI/UI/Xaml/UIElement.Pointers.wasm.cs index e9c7ccc8b8c8..09a2f528ef26 100644 --- a/src/Uno.UI/UI/Xaml/UIElement.Pointers.wasm.cs +++ b/src/Uno.UI/UI/Xaml/UIElement.Pointers.wasm.cs @@ -327,7 +327,7 @@ private static PointerRoutedEventArgs ToPointerArgs( partial void OnManipulationModeChanged(ManipulationModes oldMode, ManipulationModes newMode) { - if (newMode is ManipulationModes.None or ManipulationModes.System) + if (newMode == ManipulationModes.System) { ResetStyle("touch-action"); }