Starts in:
2 DAYS
10 HRS
19 MIN
51 SEC
Starts in:
2 D
10 H
19 M
51 S
Open Closed

Administration menu does not expand in mobile view #2002


User avatar
0
hillin created
  • ABP Framework version: v4.3.3
  • UI type: MVC
  • DB provider: N/A
  • Tiered (MVC) or Identity Server Separated (Angular): N/A
  • Exception message and stack trace: N/A
  • Steps to reproduce the issue:
  1. create a new MVC project with abp suite
  2. run the web project
  3. Resize the brower window until it's small enough to show the mobile layout (media query: max-width: 991px)
  4. Log in to the admin account
  5. Try to expand the Administration menu item

1 Answer(s)
  • User Avatar
    0
    cotur created

    Hello @hillin ,

    Yes, we are aware the problem, the problem has been fixed with the v5.0 version and will be fixed the v4.4.x patch version.

    For the v4.3.3 version, you need to override the js file that controls the menu in the lepton theme, can do it by following the steps below:

    1. Create folders Themes/Lepton/Global/scripts in your *.Web proejct.
    2. Create a file app.js in the scripts folder.
    3. Make sure you make it EmbeddedResource.
    4. copy all content from here https://gist.github.com/cotur/629b130411308fa41c6d9c8f3376e5d5 and paste in the app.js file.

    Here is the technical documentation about overriding static files: https://docs.abp.io/en/abp/latest/Virtual-File-System#asp-net-core-integration

    Also, credit refunded. :)

    Thank you.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06