Skip to content

Commit

Permalink
fix(hyperlink): clicking wasn't working on WASM
Browse files Browse the repository at this point in the history
(cherry picked from commit 0d3060f)
  • Loading branch information
ramezgerges authored and mergify[bot] committed Sep 19, 2024
1 parent 3ac1e7e commit 1c89435
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Uno.UI/UI/Xaml/Documents/Hyperlink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1c89435

Please sign in to comment.