DialogProps
Properties
A backdrop component. This prop enables custom backdrop rendering.
Props applied to the /material-ui/api/backdrop/ element.
Override or extend the styles applied to the component.
When set to true the Modal waits until a nested Transition is completed before closing.
The components used for each slot inside.
The extra props for the slot components. You can override the existing props or add new ones.
If true
, the modal will not automatically shift focus to itself when it opens, and replace it to the last focused element when it closes. This also works correctly with any modal children that have the disableAutoFocus
prop.
If true
, the modal will not prevent focus from leaving the modal while open.
If true
, hitting escape will not fire the onClose
callback.
The children
will be under the DOM hierarchy of the parent component.
If true
, the modal will not restore focus to previously focused element once modal is hidden or unmounted.
Disable the scroll lock behavior.
If true
, the dialog is full-screen.
If true
, the backdrop is not rendered.
Always keep the children in the DOM. This prop can be useful in SEO situation or when you want to maximize the responsiveness of the Modal.
Callback fired when the backdrop is clicked.
A function called when a transition enters.
A function called when a transition has exited.
The component used to render the body of the dialog.
Props applied to the /material-ui/api/paper/ element.
Determine the container for scrolling the dialog.
The props used for each slot inside the Modal.
The components used for each slot inside the Modal. Either a string to use a HTML element or a component.
The component used for the transition. /material-ui/transitions/#transitioncomponent-prop to learn more about the requirements for this component.
The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.
Props applied to the transition element. By default, the element is based on this Transition
component.