Open Closed

When there are identical URL menus in Blazor webapp, it leads to frontend freezing. #7281


User avatar
0
lizhaofeng created
  • ABP Framework version: v8.2.0-rc3
  • UI Type: Blazor webapp
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

1.Creating a project using CLI. abp new Acme.BookStore -t app-pro -u blazor-webapp --preview -csf

2.Migrating and running the project.

3.Add a menu

context.Menu.AddItem(
            new ApplicationMenuItem(
                "SettingManagement",
                l["Menu:SettingManagement"],
                url: "/setting-management/#")
        );

4.Clicking on the newly created menu will cause the browser to become unresponsive. This issue appears only when using the LeptonXTheme .


3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello,

    May I know which version of LeptonX you are using? Also, could you try to share more details or screenshots to explain your case?

    Thanks

  • User Avatar
    0
    lizhaofeng created

    Hi,Anjali_Musmade

    LeptonXTheme version 8.2.0-rc.3 . <PackageReference Include="Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXTheme" Version="3.2.-" />

    You can use CLI to create a new project, add a new menu, and use an existing URL address as the URL.

    like

    context.Menu.AddItem(
                new ApplicationMenuItem(
                    "SettingManagement",
                    l["Menu:SettingManagement"],
                    url: "/setting-management")
            );
    

    If the URL uses /setting-management/#, it works normally, but if it is just /setting-management, it will hang.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will fix this in the next version. Your question credit has been refunded.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00