Skip to content

are menu items allowed to be links?Β #1244

@stefanprobst

Description

@stefanprobst

❔ Question

the docs state that NOTE: menu items cannot contain interactive content (e.g. buttons, checkboxes, etc.).. does that include links as well?

πŸ”¦ Context

e.g. @reach/menu-button has a MenuLink, i was expecting to be able to do something similar with react-aria, but it looks like i can only programmatically navigate in the onAction callback?

🌍 Your Environment

Software Version(s)
react-spectrum latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions