Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(MenuLink): always active if href equal "/" #2204

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

ray-gilbert
Copy link
Contributor

@ray-gilbert ray-gilbert commented Sep 28, 2023

Solutions as per dotnet/aspnetcore#9156 Home

always active if href equal "/"

Description

close #2207

Solutions as per dotnet/aspnetcore#9156
<NavLink href="/" Match=NavLinkMatch.All>Home</NavLink>
@bb-auto
Copy link

bb-auto bot commented Sep 28, 2023

Thanks for your PR, @ray-gilbert. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@CLAassistant
Copy link

CLAassistant commented Sep 28, 2023

CLA assistant check
All committers have signed the CLA.

@bb-auto bb-auto bot requested a review from ArgoZhang September 28, 2023 22:30
@ArgoZhang ArgoZhang changed the title Fix NavLink always active if href="/" fix(NavLink): always active if href equal "/" Sep 29, 2023
@bb-auto bb-auto bot added the bug Something isn't working label Sep 29, 2023
@bb-auto bb-auto bot added this to the V7.10.0 milestone Sep 29, 2023
@ArgoZhang ArgoZhang changed the title fix(NavLink): always active if href equal "/" fix(MenuLink): always active if href equal "/" Sep 29, 2023
@ArgoZhang
Copy link
Collaborator

@ray-gilbert thank you for submitting PR for this project. could you give this project a star if you like this repo

@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (6756127) 100.00% compared to head (62025d7) 99.98%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##              main    #2204      +/-   ##
===========================================
- Coverage   100.00%   99.98%   -0.02%     
===========================================
  Files          522      522              
  Lines        16963    17004      +41     
===========================================
+ Hits         16963    17002      +39     
- Misses           0        2       +2     
Files Coverage Δ
.../BootstrapBlazor/Components/Menu/MenuLink.razor.cs 100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ArgoZhang ArgoZhang merged commit 657d8ce into dotnetcore:main Sep 29, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(MenuLink): always active if href equal "/"
3 participants