Skip to content

fix: cannot open FluentLink and FluentAnchorButton in new tab #5140

Description

🐛 Bug Report

It is not possible to open FluentLink and FluentAnchorButton as a new tab when you use the middle mouse button.

💻 Repro or Code Sample

https://v5.fluentui-blazor.net/Buttons/AnchorButton
https://v5.fluentui-blazor.net/link

In v4 this works
https://www.fluentui-blazor.net/Anchor

🤔 Expected Behavior

The links should open in a new tab when the user clicks on them with the middle mouse button.

😯 Current Behavior

Nothing happens.

🔦 Context

This bug could have been introduced in #5081 but I'm not sure if this has even worked before this commit.

🌍 Your Environment

  • OS & Device: Windows 11 64 Bit
  • Browser latest Firefox, Chrome and Edge
  • latest dev-v5 branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bugv5For the next major version

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions