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

[DataGrid] fix: popper focus trap #16736

Merged
merged 3 commits into from
Feb 26, 2025
Merged

Conversation

romgrk
Copy link
Contributor

@romgrk romgrk commented Feb 25, 2025

Fixes https://mui-org.slack.com/archives/C05SBSU8NPR/p1740497242687319

Focus trap was not working.

Both MUIClickAwayListener and MUIFocusTrap require a ref'able child, but none of them forward the ref, so they can't be used on top of another.

@romgrk romgrk added the component: data grid This is the name of the generic UI component, not the React module! label Feb 25, 2025
@romgrk romgrk requested a review from a team February 25, 2025 20:45
@mui-bot
Copy link

mui-bot commented Feb 25, 2025

Deploy preview: https://deploy-preview-16736--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against dce0343

@cherniavskii cherniavskii added bug 🐛 Something doesn't work regression A bug, but worse labels Feb 25, 2025
@romgrk romgrk merged commit fe98e93 into mui:master Feb 26, 2025
18 checks passed
@romgrk romgrk deleted the fix-base-popper-focus branch February 26, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! regression A bug, but worse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants