[Button][material][docs] Add demo for preventing default on inaccessible elements in v6
Open
@DiegoAndai is already working on this.
Since Aug 21, 2023.
component: ButtonBase
on hold
scope: button
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.