Skip to content

[DashboardLayout] Render NavigationItem.action as ListItem's secondaryAction #4747

Open
@marcomele

Description

@marcomele

Summary

When a NavigationItem is not a parent item (i.e. it's a button in expanded sidebar view), and an action is provided, pointer event on the action component also propagate to the ListItem component. Following MUI practices, the action component would be better rendered as the ListItem's secondaryAction (or wrapped in the SecondaryAction child component).

Examples

No response

Motivation

No response

Search keywords: dashboard layout navigation item action secondary action

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: layoutThis is the name of the generic UI component, not the React module!customization: domComponent's DOM customizability, e.g. slotgood first issueGreat for first contributions. Enable to learn the contribution process.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions