-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[material-ui][ListItem] Remove props which have been deprecated since 2021 #41296
Comments
|
Correct me if I am wrong, the changes would be:
|
Hey @thathva, sorry for the late reply. Yes, feel free to work on this. The changes would be:
We'll make this change in v6 alpha, so the PR for this change should point to the Feel free to let me know if you need any help. |
Hey @DiegoAndai! Thank you for the response!
useEnhancedEffect(() => {
if (autoFocus) {
if (listItemRef.current) {
listItemRef.current.focus();
} else if (process.env.NODE_ENV !== 'production') {
console.error(
'MUI: Unable to set focus to a ListItem whose component has not been rendered.',
);
}
}
}, [autoFocus]);
|
Hey @thathva!
|
Hey @DiegoAndai |
Hey! Here's the contributing guide that explains how to open pull requests: https://github.com/mui/material-ui/blob/master/CONTRIBUTING.md#sending-a-pull-request We should open it against the |
Hey! |
Hey! It's now open 🎉 |
Hey @DiegoAndai |
Completed in #41566 |
Remove props deprecated since May 2021 (#26446):
autoFocus
button
disabled
selected
The
ContainerComponent
andContainerProps
will be handled in #41281Search keywords: deprecated listitem
The text was updated successfully, but these errors were encountered: