Skip to content

Commit

Permalink
Merge pull request #18254 from unoplatform/mergify/bp/release/stable/…
Browse files Browse the repository at this point in the history
…5.4/pr-18237

fix(hyperlink): clicking wasn't working on WASM (backport #18237)
  • Loading branch information
jeromelaban authored Sep 19, 2024
2 parents 3ac1e7e + 1c89435 commit 346f2b1
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 346f2b1

Please sign in to comment.