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 v8.2.0-preview Updated on March 25, 2024, 15:11