Skip to content

Commit

Permalink
fix(wasm): Prevent browser from stealing pointer events for None Mani…
Browse files Browse the repository at this point in the history
…pulationModes
  • Loading branch information
Youssef1313 authored Oct 26, 2023
1 parent 8309372 commit e075844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/UIElement.Pointers.wasm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit e075844

Please sign in to comment.