[Dialog, Popover, Menu, Select] Modality changes #623
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: popover
The React component.
component: select
This is the name of the generic UI component, not the React module!
Dialogs
modal
prop valuemodal
will only mean "pointer" modality going forwards, which includes preventing outside clicks and scroll lockingBackdrop
part becomes optional and is only for presentationBackdrop
is presentreason
argument inonOpenChange
to make it possible to prevent close on interactions like Esc keypressPopover
modal
prop is added, false by default. Modality should work exactly the same as in dialogs.Menu, Select
modal
prop is added, false by defaultContext:
https://www.figma.com/design/Y6VArf17CAhMUc1DBWKHIi/Modality?node-id=0-1&t=kN6j5qsqKlWGNn1B-1
https://www.notion.so/mui-org/Vlad-James-modality-107cbfe7b66080f5a68cfd7450da9433?pvs=4
The text was updated successfully, but these errors were encountered: