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

[Dialog, Menu, Select] Set pointer-events on InternalBackdrop based on open state #1221

Merged
merged 3 commits into from
Dec 26, 2024

Conversation

atomiks
Copy link
Contributor

@atomiks atomiks commented Dec 24, 2024

This solves the flicker on the trigger due to the new internal backdrop without needing to change when [data-popup-open] is removed.

Before:

Screen.Recording.2024-12-24.at.1.00.13.pm.mov

After:

Screen.Recording.2024-12-24.at.12.59.36.pm.mov

@atomiks atomiks added component: select This is the name of the generic UI component, not the React module! component: menu This is the name of the generic UI component, not the React module! component: dialog This is the name of the generic UI component, not the React module! labels Dec 24, 2024
@mui-bot
Copy link

mui-bot commented Dec 24, 2024

Netlify deploy preview

https://deploy-preview-1221--base-ui.netlify.app/

Generated by 🚫 dangerJS against 2885c2d

@atomiks atomiks changed the title [Dialog, Menu, Select] Set pointer-events based on open state [Dialog, Menu, Select] Set pointer-events on InternalBackdrop based on open state Dec 24, 2024
@atomiks atomiks merged commit 1d4206e into mui:master Dec 26, 2024
23 checks passed
@atomiks atomiks deleted the fix/internal-backdrop-pointer branch December 26, 2024 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dialog This is the name of the generic UI component, not the React module! component: menu This is the name of the generic UI component, not the React module! component: select This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants