Skip to content

[Bug]: Nested dropdown menus are displayed in the wrong position #6635

Description

@vhugonunes44

Blazorise Version

2.2

What Blazorise provider are you running on?

Bootstrap5

Link to minimal reproduction or a simple code snippet

https://github.com/Megabit/Blazorise/tree/master/Demos/Blazorise.Demo.Bootstrap5

Steps to reproduce & bug description

  1. Create or open a menu with at least 3 levels:
    • Level 1
      • Level 2
        • Level 3
        • Level 4
  2. Open the first-level menu.
  3. Open the second-level submenu.
  4. Open the third-level submenu.
  5. Open the fourth-level submenu.
  6. Observe the position of the nested dropdown.

What is expected?

Menus with up to 4 levels of submenus should be displayed correctly.

Each nested dropdown should open directly beside its parent menu item, remain properly aligned, and preserve the visual hierarchy between Level 1, Level 2, Level 3 and Level 4 items.

What is actually happening?

Nested submenus are vertically misaligned.
Each submenu opens one row above the menu item that triggered it, instead of being aligned with the parent item.

Image

What browsers do you see the problem on?

Chrome, Microsoft Edge, Firefox

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions