Skip to content

Commit e836f3b

Browse files
authored
Merge pull request #398 from topcoder-platform/TCA-641_modal-close-animation
TCA-641 - fix modal close animation -> dev
2 parents 27f9c60 + 2d12995 commit e836f3b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src-ts/lib/modals/base-modal/BaseModal.module.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
@import '../../styles/includes';
22
@import '../../styles/typography';
33

4+
:global(.react-responsive-modal-root) {
5+
:global(.react-responsive-modal-overlay),
6+
:global(.react-responsive-modal-modal) {
7+
animation-fill-mode:forwards !important;
8+
}
9+
10+
}
11+
412
.modal-header {
513
padding: 5px 0 0;
614
}
@@ -14,7 +22,7 @@
1422
overflow: auto;
1523
margin: 0 -1*$space-xxxxl -1*$space-xxxxl;
1624
padding: 0 $space-xxxxl $space-xxxxl;
17-
25+
1826
display: flex;
1927
flex-direction: column;
2028

0 commit comments

Comments
 (0)