dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.49k stars 10.04k forks source link

The default mvc web application template navigation menu created by. net 9 does not display #59000

Closed HuaFangYun closed 33 minutes ago

HuaFangYun commented 3 hours ago

Is there an existing issue for this?

Describe the bug

Image

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

.net9

Anything else?

No response

martincostello commented 3 hours ago

Please provide a minimal reproducible example as a GitHub repository that demonstrates the issue you're experiencing so the team can look into this further.

Otherwise all we can guess is that maybe you've got the wrong bootstrap classes on your navbar that are making the text invisible.

HuaFangYun commented 3 hours ago

Image Please press the template to directly create a default application and run it. Menu cannot be displayed. When in mobile mode, it can be displayed and hidden directly when you place the mouse.

HuaFangYun commented 3 hours ago

.net 9 .net8 .net 6 Image There are problems with all. net versions

HuaFangYun commented 2 hours ago

Image

HuaFangYun commented 2 hours ago

https://github.com/HuaFangYun/MVCTest/tree/new

HuaFangYun commented 2 hours ago

@martincostello

HuaFangYun commented 2 hours ago

My code appears normally in html. Put it in an mvc project, and the menu will not be displayed. All the code is the same, but it is not displayed. Later I found that the template we provided had the same problem. Please check it. thank

nitish-kaushik commented 1 hour ago

Hi @HuaFangYun I have tested your repo as well as the default template of .net9 mvc application and the menu is working fine in both the applications. Here is the screenshot from your application.

Image

Kindly mark as answer and close the issue if no further answer is required.

HuaFangYun commented 57 minutes ago

Thank you for your reply, but I am having this issue on my computer where the menu cannot be displayed. I would like to ask how to reinstall this template to test again and find out the problem.

HuaFangYun commented 54 minutes ago

I have recorded a video of 50MB, but I cannot upload it as it is limited to only 25MB.

HuaFangYun commented 52 minutes ago

Image Image

HuaFangYun commented 33 minutes ago

It may be a problem with my computer or something else. I will try to reinstall it. Thank you for your reply