Skip to content

Commit

Permalink
add z-40 to dialog background to fix weird z-index jump on fade in an…
Browse files Browse the repository at this point in the history
…imation
  • Loading branch information
coderwelsch committed Dec 19, 2023
1 parent d762727 commit e94e7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dialog/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const Dialog = ({
leaveTo="opacity-0"
>
<div
className="fixed inset-0 bg-modal-background"
className="fixed inset-0 z-40 bg-modal-background"
aria-hidden="true"
onClick={() => handleClose(true)}
/>
Expand Down

0 comments on commit e94e7f2

Please sign in to comment.