microsoft / microsoft/fluentui-blazor
fix: cannot open FluentLink and FluentAnchorButton in new tab
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 483
- Avg merge
- 14h 41m
- Merged PRs (30d)
- 68
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the FluentLink and FluentAnchorButton implementations and compare their behavior with the v4 Anchor example. Reproduce the issue using the middle mouse button at the supplied v5 links in Firefox, Chrome, and Edge, then check the change from #5081. Done means both components open their links in a new tab as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 66/100