From 1c89435769dcea89e5c62b14d8ffa478cc20b9ba 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 (cherry picked from commit 0d3060f06543254766072257d2e28f93d516cbc3) --- 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 e716a4cd9037..d92e8efe4ab3 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