Skip to content

Commit

Permalink
fix: fix screen glitch issue when modal is closed (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
pradel committed Jun 19, 2023
1 parent 16aad65 commit 7c1dad2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions react-responsive-modal/styles.css
Expand Up @@ -58,6 +58,13 @@
display: flex;
}

/* Used to fix a screen glitch issues with the animation see https://github.com/pradel/react-responsive-modal/issues/495 */
.react-responsive-modal-overlay,
.react-responsive-modal-container,
.react-responsive-modal-modal {
animation-fill-mode: forwards !important;
}

@keyframes react-responsive-modal-overlay-in {
0% {
opacity: 0;
Expand Down

0 comments on commit 7c1dad2

Please sign in to comment.