mui / mui/material-ui

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

Open
#38,581 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.