Skip to content

[Button][material][docs] Add demo for preventing default on inaccessible elements in v6 #38581

Open
@DiegoAndai

Description

Related page

https://mui.com/material-ui/react-button/

Issue description

As v6 will use Base UI's useButton hook, there has to be a mention on the docs on the usage of defaultMuiPrevented, used to prevent key-up and key-down callbacks on inaccessible elements (reference).

Context 🔦

This is on hold as the docs for v6 have yet to be created.

Metadata

Assignees

Labels

component: ButtonBaseThe React component.component: buttonThis is the name of the generic UI component, not the React module!on holdThere is a blocker, we need to wait

Projects

  • Status

    Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions