Skip to content

Commit

Permalink
Merge pull request #18237 from ramezgerges/wasm_managed_pointers_hype…
Browse files Browse the repository at this point in the history
…rlink

fix(hyperlink): clicking wasn't working on WASM
  • Loading branch information
ramezgerges authored Sep 19, 2024
2 parents 8932fdc + 0d3060f commit f69d5ef
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 f69d5ef

Please sign in to comment.