Skip to content

[dialog] Remove useFloating call from the Popup#1300

Merged
michaldudak merged 1 commit into
mui:masterfrom
michaldudak:remove-usefloating-from-dialogs
Jan 8, 2025
Merged

[dialog] Remove useFloating call from the Popup#1300
michaldudak merged 1 commit into
mui:masterfrom
michaldudak:remove-usefloating-from-dialogs

Conversation

@michaldudak

@michaldudak michaldudak commented Jan 7, 2025

Copy link
Copy Markdown
Member

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 Changes related to the alert dialog component. component: dialog Changes related to the dialog component. labels Jan 7, 2025
@mui-bot

mui-bot commented Jan 7, 2025

Copy link
Copy Markdown

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
@michaldudak michaldudak deleted the remove-usefloating-from-dialogs branch January 8, 2025 08:33
@oliviertassinari oliviertassinari changed the title [Dialog] Remove useFloating call from the Popup [dialog] Remove useFloating call from the Popup May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: alert dialog Changes related to the alert dialog component. component: dialog Changes related to the dialog component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants