Skip to content

Commit

Permalink
fix(Modal): Remove role="document" from ModalDialog (#5529)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyletsang committed Nov 18, 2020
1 parent 072e7c5 commit af3453a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Modal.tsx
Expand Up @@ -481,7 +481,6 @@ const Modal: Modal = (React.forwardRef(
// @ts-ignore */}
<Dialog
{...props}
role="document"
onMouseDown={handleDialogMouseDown}
className={dialogClassName}
contentClassName={contentClassName}
Expand Down

0 comments on commit af3453a

Please sign in to comment.