Skip to content

Commit

Permalink
Revert "[@mantine/core] Modal: Prevent overlay from sitting on top of…
Browse files Browse the repository at this point in the history
… scrollbar (#2445)"

This reverts commit 92305e2.
  • Loading branch information
rtivital committed Sep 17, 2022
1 parent b178746 commit acb8bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-core/src/Modal/Modal.tsx
Expand Up @@ -262,7 +262,7 @@ export function Modal(props: ModalProps) {
<Overlay
className={classes.overlay}
sx={{ position: 'fixed' }}
zIndex={-1}
zIndex={0}
onMouseDown={() => closeOnClickOutside && onClose()}
blur={overlayBlur}
color={
Expand Down

0 comments on commit acb8bf2

Please sign in to comment.