Skip to content

Commit

Permalink
fixup! fixup! Re-implement Modal component using HTMLDialogElement (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bedrich-schindler committed Aug 31, 2024
1 parent 8d6ac22 commit 64ae3d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/Modal/Modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const preRender = (
}
}}
ref={childrenWrapperRef}
role="presentation"
>
{children}
</dialog>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal/Modal.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

.root[open]::backdrop {
background: theme.$backdrop-background;
animation: fade-in theme.$animation-duration ease-out;
animation: inherit;
}

.isRootSizeSmall {
Expand Down

0 comments on commit 64ae3d4

Please sign in to comment.