Skip to content

[material-next] Support modal and non-modal option for components #38756

@DiegoAndai

Description

@DiegoAndai

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Summary 💡

This is part of the #38630 effort.

All components that involve a floating element should provide a prop to control whether that element should behave like a modal or not:

  • Autocomplete
  • Dialog
  • Drawer
  • Menu
  • Select
  • Snackbar
  • Swipeable Drawer

Motivation 🔦

The usage of modal or non-modal floating elements should be made in userland, as it varies from use case to use case.

This same issue was raised in #17353 (comment).

Metadata

Metadata

Assignees

Labels

component: SwipeableDrawerThe React component.on holdThere is a blocker, we need to wait.scope: autocompleteChanges related to the autocomplete. This includes ComboBox.scope: dialogChanges related to the dialog.scope: drawerChanges related to the drawer.scope: menuChanges related to the menu.scope: selectChanges related to the select.scope: toastChanges related to the toast.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions