Skip to content

Anchor Menu Items cannot contain sub menus #4196

Description

@dmarcey

Bug Report

  • Package version(s): latest

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? Yes

Requested priority: Normal

Products/sites affected: VSTS

Describe the issue:

Currently there is no ability to have a menu item that is both an anchor element, and contains a sub menu. The current workaround is to use a button to get the sub menu, but in that case we lose the ability to right-click, open in a new tab, etc.

Actual behavior:

When a menu item contains an href and subMenuProps, the subMenuProps are ignored.

Expected behavior:

When a menu item contains an href and subMenuProps, an tag is used and the sub menu is rendered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions