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] Remove useFloating call from the Popup #1300

Merged

Conversation

michaldudak
Copy link
Member

@michaldudak michaldudak commented Jan 7, 2025

Removed the useFloating call from the Dialog.
Previously, it was required by FloatingFocusManager, but with the recent change in Floating UI, it is no longer the case, and we can avoid needlessly importing positioning logic.

Part of #1246

@michaldudak michaldudak added component: alert dialog 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 Jan 7, 2025
@mui-bot
Copy link

mui-bot commented Jan 7, 2025

Netlify deploy preview

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

Generated by 🚫 dangerJS against 744fe4c

@michaldudak michaldudak merged commit 7c95b65 into mui:master Jan 8, 2025
25 checks passed
@michaldudak michaldudak deleted the remove-usefloating-from-dialogs branch January 8, 2025 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: alert dialog 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!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants