Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DiegoAndai opened this issue Aug 21, 2023 · 0 comments
Assignees
Labels
component: button This is the name of the generic UI component, not the React module! component: ButtonBase The React component. on hold There is a blocker, we need to wait

Comments

@DiegoAndai
Copy link
Member

DiegoAndai commented Aug 21, 2023

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.

@DiegoAndai DiegoAndai added on hold There is a blocker, we need to wait component: button This is the name of the generic UI component, not the React module! component: ButtonBase The React component. v6.x support: docs-feedback Feedback from documentation page labels Aug 21, 2023
@DiegoAndai DiegoAndai added this to the v6 milestone Aug 21, 2023
@DiegoAndai DiegoAndai self-assigned this Aug 21, 2023
@DiegoAndai DiegoAndai removed the support: docs-feedback Feedback from documentation page label Aug 21, 2023
@danilo-leal danilo-leal removed this from the Material UI v6 milestone Dec 1, 2023
@DiegoAndai DiegoAndai added v7.x and removed v6.x labels Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: button This is the name of the generic UI component, not the React module! component: ButtonBase The React component. on hold There is a blocker, we need to wait
Projects
Status: Backlog
Development

No branches or pull requests

3 participants