Skip to content

Commit

Permalink
fix(modal): fix fade-modal transition effect works on enter state (#3007
Browse files Browse the repository at this point in the history
)
  • Loading branch information
oljc authored Mar 1, 2024
1 parent 933b02b commit 64cafb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web-vue/components/modal/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
}

&-footer {
box-sizing: border-box;
flex-shrink: 0;
box-sizing: border-box;
width: 100%;
padding: @modal-default-padding-footer-vertical
@modal-default-padding-horizontal;
Expand Down Expand Up @@ -263,7 +263,7 @@
opacity: 1;
}

.fad-modal-enter-active,
.fade-modal-enter-active,
.fade-modal-appear-active {
transition: opacity @transition-duration-4
@transition-timing-function-overshoot;
Expand Down

0 comments on commit 64cafb4

Please sign in to comment.