From 0d3060f06543254766072257d2e28f93d516cbc3 Mon Sep 17 00:00:00 2001 From: Ramez Ragaa Date: Wed, 18 Sep 2024 13:03:39 +0300 Subject: [PATCH] fix(hyperlink): clicking wasn't working on WASM --- src/Uno.UI/UI/Xaml/Documents/Hyperlink.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Uno.UI/UI/Xaml/Documents/Hyperlink.cs b/src/Uno.UI/UI/Xaml/Documents/Hyperlink.cs index f9bbe9334be4..ad70de07c7f9 100644 --- a/src/Uno.UI/UI/Xaml/Documents/Hyperlink.cs +++ b/src/Uno.UI/UI/Xaml/Documents/Hyperlink.cs @@ -223,12 +223,10 @@ internal void OnClick() { Click?.Invoke(this, new HyperlinkClickEventArgs { OriginalSource = this }); -#if !__WASM__ // handled natively in WASM/Html if (NavigateUri != null) { _ = Launcher.LaunchUriAsync(NavigateUri); } -#endif } #endregion