diff --git a/packages/material-ui/src/Modal/Modal.js b/packages/material-ui/src/Modal/Modal.js index dea97988dcb3c7..a77fcb0f6af19b 100644 --- a/packages/material-ui/src/Modal/Modal.js +++ b/packages/material-ui/src/Modal/Modal.js @@ -207,8 +207,8 @@ const Modal = React.forwardRef(function Modal(inProps, ref) { const inlineStyle = styles(theme || { zIndex }); const childProps = {}; - if (children.tabIndex === undefined) { - childProps.tabIndex = children.tabIndex || '-1'; + if (children.props.tabIndex === undefined) { + childProps.tabIndex = children.props.tabIndex || '-1'; } // It's a Transition like component